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. List<GraceNote> graceNotes = const [],
  9. Dynamic? dynamicElement,
  10. List<PlayingTechnique> techniques = const [],
  11. 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,
});