RunnerPanel constructor
const
RunnerPanel({
- Key? key,
- required WorkoutPlan plan,
- required WorkoutRunnerController controller,
- bool resume = true,
- OnRunnerFinished? onFinished,
- TextStyle? exerciseTitleStyle,
- TextStyle? exerciseSubtitleStyle,
- Color? exerciseActiveBorderColor,
- Color? exerciseInactiveBorderColor,
- Color? exerciseActiveCardColor,
- Color? exerciseInactiveCardColor,
- Color? exerciseActiveIconColor,
- Color? exerciseInactiveIconColor,
- TextStyle? setTitleStyle,
- TextStyle? setInputStyle,
- Color? setActiveCardColor,
- Color? setInactiveCardColor,
- Color? setDoneCardColor,
Implementation
const RunnerPanel({
super.key,
required this.plan,
required this.controller,
this.resume = true,
this.onFinished,
// CurrentExercise styles
this.exerciseTitleStyle,
this.exerciseSubtitleStyle,
this.exerciseActiveBorderColor,
this.exerciseInactiveBorderColor,
this.exerciseActiveCardColor,
this.exerciseInactiveCardColor,
this.exerciseActiveIconColor,
this.exerciseInactiveIconColor,
// SetView styles
this.setTitleStyle,
this.setInputStyle,
this.setActiveCardColor,
this.setInactiveCardColor,
this.setDoneCardColor,
});