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