ExerciseForm constructor
Creates an ExerciseForm.
exercise
and exerciseName
are used when editing an existing exercise.
isEdit
must be set to true for editing, false for creating a new exercise.
Implementation
const ExerciseForm(
{super.key, this.exercise, this.exerciseName, required this.isEdit});