Note constructor
Note({
- required Pitch pitch,
- required Duration duration,
- BeamType? beam,
- List<
ArticulationType> articulations = const [], - TieType? tie,
- SlurType? slur,
- List<
Ornament> ornaments = const [], - Dynamic? dynamicElement,
- List<
PlayingTechnique> techniques = const [], - int? voice,
- int tremoloStrokes = 0,
- bool isGraceNote = false,
- Pitch? alternatePitch,
- int? tabFret,
- int? tabString,
Implementation
Note({
required this.pitch,
required this.duration,
this.beam,
this.articulations = const [],
this.tie,
this.slur,
this.ornaments = const [],
this.dynamicElement,
this.techniques = const [],
this.voice,
this.tremoloStrokes = 0,
this.isGraceNote = false,
this.alternatePitch,
this.tabFret,
this.tabString,
});