onStepBack property

dynamic Function(BuildContext context, StepResult? stepResult)? onStepBack
final

Defines what should happen if the previous step is called Default behavior is:

BlocProvider.of<SurveyPresenter>(context).add(
   StepBack(
     resultFunction.call(),
   ),
);

Implementation

final Function(
  BuildContext context,
  StepResult? stepResult,
)? onStepBack;