TheoryCard constructor

const TheoryCard({
  1. required String prompt,
  2. required String explanation,
  3. List<ChordSymbol> chords = const [],
  4. List<TheoryOption> options = const [],
  5. int? correct,
  6. int? pitch,
  7. PlayChord? playChord,
  8. String? score,
})

Implementation

const TheoryCard({
  required this.prompt,
  required this.explanation,
  this.chords = const [],
  this.options = const [],
  this.correct,
  this.pitch,
  this.playChord,
  this.score,
});