onNextStep property

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

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

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

Implementation

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