FormBlocDeleting<SuccessResponse, FailureResponse> constructor

FormBlocDeleting<SuccessResponse, FailureResponse>({
  1. Map<int, bool> isValidByStep = const {},
  2. bool isEditing = false,
  3. Map<int, Map<String, FieldBloc<FieldBlocStateBase>>> fieldBlocs = const {},
  4. int currentStep = 0,
  5. double progress = 0.0,
})

Implementation

FormBlocDeleting({
  super.isValidByStep = const {},
  super.isEditing = false,
  super.fieldBlocs = const {},
  super.currentStep = 0,
  double progress = 0.0,
})  : assert(progress >= 0.0 && progress <= 1.0),
      progress = progress.clamp(0.0, 1.0);