Note constructor

Note({
  1. required Pitch pitch,
  2. required Duration duration,
  3. BeamType? beam,
  4. List<ArticulationType> articulations = const [],
  5. TieType? tie,
  6. SlurType? slur,
  7. List<Ornament> ornaments = const [],
  8. Dynamic? dynamicElement,
  9. List<PlayingTechnique> techniques = const [],
  10. int? voice,
  11. int tremoloStrokes = 0,
  12. bool isGraceNote = false,
  13. Pitch? alternatePitch,
  14. int? tabFret,
  15. 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,
});