QuestionBody constructor

const QuestionBody({
  1. Key? key,
  2. required ExerciseSpec spec,
  3. required QuestionRound round,
  4. required CourseFiles files,
  5. required SettingsCubit settings,
  6. required MidiInputService midiInput,
  7. required ScoreRenderer rendererFactory(),
  8. required ValueChanged<RoundResult> onDone,
  9. required AppClock clock,
  10. Future<SoundEngine?> ensureEngine()?,
  11. ChordNotation? courseChordNotation,
  12. 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,
});