RunnerPanel constructor

const RunnerPanel({
  1. Key? key,
  2. required WorkoutPlan plan,
  3. required WorkoutRunnerController controller,
  4. bool resume = true,
  5. OnRunnerFinished? onFinished,
  6. TextStyle? exerciseTitleStyle,
  7. TextStyle? exerciseSubtitleStyle,
  8. Color? exerciseActiveBorderColor,
  9. Color? exerciseInactiveBorderColor,
  10. Color? exerciseActiveCardColor,
  11. Color? exerciseInactiveCardColor,
  12. Color? exerciseActiveIconColor,
  13. Color? exerciseInactiveIconColor,
  14. TextStyle? setTitleStyle,
  15. TextStyle? setInputStyle,
  16. Color? setActiveCardColor,
  17. Color? setInactiveCardColor,
  18. 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,
});