PatternNote constructor
const
PatternNote({ - required Pitch pitch,
- required int ticks,
- required String type,
- int staff = 1,
- int dots = 0,
- bool tuplet = false,
- bool bareTuplet = false,
- bool chord = false,
- int? finger,
- bool fingerBelow = false,
- PatternMark? mark,
- bool slurStart = false,
- bool slurStop = false,
- int? shownStaff,
- bool held = false,
- bool inner = false,
- bool hollow = false,
- 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;