SightNote constructor
const
SightNote( - int ticks, {
- List<SightTone> tones = const [],
- bool tie = false,
- SightTuplet? tuplet,
- List<SightTone> grace = const [],
- bool longGrace = false,
- SightOrnament? ornament,
- Set<SightArticulation> marks = const {},
- SightSlur? slur,
- bool cue = false,
- int tremolo = 0,
- bool hidden = false,
})
Implementation
const SightNote(
this.ticks, {
this.tones = const [],
this.tie = false,
this.tuplet,
this.grace = const [],
this.longGrace = false,
this.ornament,
this.marks = const {},
this.slur,
this.cue = false,
this.tremolo = 0,
this.hidden = false,
}) : assert(ticks > 0),
assert(tremolo >= 0 && tremolo <= 3);