SightExercise constructor
SightExercise({ - required SightStep step,
- String? tonic,
- required List<SightVoice> right,
- required List<SightVoice> left,
- List<SightDirection> directions = const [],
- bool fitStaves = false,
- SightTexture? texture,
- List<SightHarmonySpan>? harmony,
- String? meter,
- bool counterpoint = false,
- SightForm? form,
- List<int> systemBreaks = const [],
- Map<int, String> keyChanges = const {},
})
Implementation
SightExercise({
required this.step,
String? tonic,
required this.right,
required this.left,
this.directions = const [],
this.fitStaves = false,
this.texture,
this.harmony,
String? meter,
this.counterpoint = false,
this.form,
this.systemBreaks = const [],
this.keyChanges = const {},
}) : tonic = tonic ?? step.tonic,
meter = meter ?? step.timeSignature;