onStepCancel property

(void Function(FormBloc? formBloc)?) onStepCancel
final

The callback called when the 'cancel' button is tapped.

If null, the 'cancel' button will call FormBloc.previousStep

Implementation

final void Function(FormBloc? formBloc)? onStepCancel;