FormBlocSubmitting<SuccessResponse, FailureResponse> constructor
FormBlocSubmitting<SuccessResponse, FailureResponse> ({})
progress
must be greater than or equal to 0.0 and less than or equal to 1.0.
- If
progress
is less than 0, it will become 0.0 - If
progress
is greater than 1, it will become 1.0
Implementation
FormBlocSubmitting({
super.isValidByStep = const {},
super.isEditing = false,
double progress = 0.0,
this.isCanceling = false,
super.fieldBlocs = const {},
super.currentStep = 0,
}) : assert(progress >= 0.0 && progress <= 1.0),
progress = progress.clamp(0.0, 1.0);