SightStep constructor

const SightStep({
  1. required int level,
  2. required int sub,
  3. required SightHands hands,
  4. required List<int> durations,
  5. required List<List<int>> patterns,
  6. required int bpm,
  7. required String label,
  8. required int high,
  9. double restChance = 0,
  10. bool threeFour = false,
  11. bool syncopated = false,
  12. String tonic = 'C',
  13. SightRecipe? recipe,
  14. String? meter,
  15. bool shortBars = false,
  16. int? concertBpm,
  17. List<SightEndlessSection> sections = const [],
  18. 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,
});