SightEvent constructor

const SightEvent({
  1. required int staff,
  2. int voice = 0,
  3. required int measure,
  4. required double start,
  5. required double ticks,
  6. required SightTone tone,
  7. required int midi,
  8. required List<String> ids,
  9. bool inChord = false,
  10. bool extra = false,
  11. bool grace = false,
  12. bool locked = false,
  13. SightOrnament? ornament,
  14. int tremolo = 0,
})

Implementation

const SightEvent({
  required this.staff,
  this.voice = 0,
  required this.measure,
  required this.start,
  required this.ticks,
  required this.tone,
  required this.midi,
  required this.ids,
  this.inChord = false,
  this.extra = false,
  this.grace = false,
  this.locked = false,
  this.ornament,
  this.tremolo = 0,
});