onCloseSurvey property
Defines what should happen if the survey should be closed Default behavior is:
BlocProvider.of<SurveyPresenter>(context).add(
CloseSurvey(
resultFunction.call(),
),
);
Implementation
final Function(
BuildContext context,
StepResult? stepResult,
)? onCloseSurvey;