PatternNote constructor

const PatternNote({
  1. required Pitch pitch,
  2. required int ticks,
  3. required String type,
  4. int staff = 1,
  5. int dots = 0,
  6. bool tuplet = false,
  7. bool bareTuplet = false,
  8. bool chord = false,
  9. int? finger,
  10. bool fingerBelow = false,
  11. PatternMark? mark,
  12. bool slurStart = false,
  13. bool slurStop = false,
  14. int? shownStaff,
  15. bool held = false,
  16. bool inner = false,
  17. bool hollow = false,
  18. Clef? clefChange,
})

Implementation

const PatternNote({
  required this.pitch,
  required this.ticks,
  required this.type,
  this.staff = 1,
  this.dots = 0,
  this.tuplet = false,
  this.bareTuplet = false,
  this.chord = false,
  this.finger,
  this.fingerBelow = false,
  this.mark,
  this.slurStart = false,
  this.slurStop = false,
  this.shownStaff,
  this.held = false,
  this.inner = false,
  this.hollow = false,
  this.clefChange,
}) : rest = false;