ExerciseRoundBody constructor
const
ExerciseRoundBody({ - Key? key,
- required bool loading,
- required String? error,
- required ScoreRoundRunner? runner,
- required ScorePlayer? player,
- required ScoreViewCubit? viewController,
- required void onPaper(
- double widthPx,
- double heightPx
),
- required Widget? resultPanel,
- String label = '',
- ScoreAudioScheduler? scheduler,
- bool phone = false,
- bool sidePanel = false,
- double haloWidth = 1.0,
- Color barColor = kDefaultBarColor,
- bool animatedTurns = false,
- bool timedTurns = false,
- double speed = 1.0,
- Future<String> onReportMiss(
- RepeatStatus state
)?,
- 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,
});