ChartRoundView constructor

const ChartRoundView({
  1. Key? key,
  2. required TimedRound round,
  3. required TimedRoundRunner runner,
  4. required VoidCallback onPlay,
  5. required void onRepeatWorst(
    1. Set<int> bars
    ),
  6. required VoidCallback onNext,
  7. required ScoreRenderer rendererFactory(),
  8. RoundResult? result,
  9. String? passLine,
  10. bool practice = false,
  11. ChordNotation notation = ChordNotation.american,
  12. VoidCallback? onPreview,
})

Implementation

const ChartRoundView({
  super.key,
  required this.round,
  required this.runner,
  required this.onPlay,
  required this.onRepeatWorst,
  required this.onNext,
  required this.rendererFactory,
  this.result,
  this.passLine,
  this.practice = false,
  this.notation = ChordNotation.american,
  this.onPreview,
});