Question constructor
const
Question({ - String? prompt,
- List<String> answers = const [],
- int? correct,
- int? expectedPitch,
- Pitch? spelled,
- String? highlightId,
- bool anyOctave = false,
- List<SoundCue> sound = const [],
- ScoreComparison? compare,
- ChordTarget? chord,
- PlayChord? playChord,
- List<TimedNote> timed = const [],
- ChordFunction? chordFunction,
- BeatCue? beatCue,
- ProgressionReveal? progression,
- List<int> correctSet = const [],
- List<BeatCue> answerCues = const [],
- List<ChordSymbol> chords = const [],
- List<ChordSymbol> answerChords = const [],
- String? explanation,
- Uint8List? scoreBytes,
- String? scoreFileName,
- Uint8List scoreWhenWrong(
- int midi
)?,
- String? topic,
})
Implementation
const Question({
this.prompt,
this.answers = const [],
this.correct,
this.expectedPitch,
this.spelled,
this.highlightId,
this.anyOctave = false,
this.sound = const [],
this.compare,
this.chord,
this.playChord,
this.timed = const [],
this.chordFunction,
this.beatCue,
this.progression,
this.correctSet = const [],
this.answerCues = const [],
this.chords = const [],
this.answerChords = const [],
this.explanation,
this.scoreBytes,
this.scoreFileName,
this.scoreWhenWrong,
this.topic,
});