ExerciseRoundBody constructor

const ExerciseRoundBody({
  1. Key? key,
  2. required bool loading,
  3. required String? error,
  4. required ScoreRoundRunner? runner,
  5. required ScorePlayer? player,
  6. required ScoreViewCubit? viewController,
  7. required void onPaper(
    1. double widthPx,
    2. double heightPx
    ),
  8. required Widget? resultPanel,
  9. String label = '',
  10. ScoreAudioScheduler? scheduler,
  11. bool phone = false,
  12. bool sidePanel = false,
  13. double haloWidth = 1.0,
  14. Color barColor = kDefaultBarColor,
  15. bool animatedTurns = false,
  16. bool timedTurns = false,
  17. double speed = 1.0,
  18. Future<String> onReportMiss(
    1. RepeatStatus state
    )?,
  19. bool showErrors = true,
})

Implementation

const ExerciseRoundBody({
  super.key,
  required this.loading,
  required this.error,
  required this.runner,
  required this.player,
  required this.viewController,
  required this.onPaper,
  required this.resultPanel,
  this.label = '',
  this.scheduler,
  this.phone = false,
  this.sidePanel = false,
  this.haloWidth = 1.0,
  this.barColor = kDefaultBarColor,
  this.animatedTurns = false,
  this.timedTurns = false,
  this.speed = 1.0,
  this.onReportMiss,
  this.showErrors = true,
});