QuestionBody constructor
const
QuestionBody({ - Key? key,
- required ExerciseSpec spec,
- required QuestionRound round,
- required CourseFiles files,
- required SettingsCubit settings,
- required MidiInputService midiInput,
- required ScoreRenderer rendererFactory(),
- required ValueChanged<RoundResult> onDone,
- required AppClock clock,
- Future<SoundEngine?> ensureEngine()?,
- ChordNotation? courseChordNotation,
- bool metronomeOn = true,
})
Implementation
const QuestionBody({
super.key,
required this.spec,
required this.round,
required this.files,
required this.settings,
required this.midiInput,
required this.rendererFactory,
required this.onDone,
required this.clock,
this.ensureEngine,
this.courseChordNotation,
this.metronomeOn = true,
});