SightStep constructor
const
SightStep({ - required int level,
- required int sub,
- required SightHands hands,
- required List<int> durations,
- required List<List<int>> patterns,
- required int bpm,
- required String label,
- required int high,
- double restChance = 0,
- bool threeFour = false,
- bool syncopated = false,
- String tonic = 'C',
- SightRecipe? recipe,
- String? meter,
- bool shortBars = false,
- int? concertBpm,
- List<SightEndlessSection> sections = const [],
- SightLayout layout = SightLayout.free,
})
Implementation
const SightStep({
required this.level,
required this.sub,
required this.hands,
required this.durations,
required this.patterns,
required this.bpm,
required this.label,
required this.high,
this.restChance = 0,
this.threeFour = false,
this.syncopated = false,
this.tonic = 'C',
this.recipe,
this.meter,
this.shortBars = false,
this.concertBpm,
this.sections = const [],
this.layout = SightLayout.free,
});