ExerciseForm constructor

const ExerciseForm({
  1. Key? key,
  2. Map<String, dynamic>? exercise,
  3. String? exerciseName,
  4. required bool isEdit,
})

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});