onNextStep property

bool Function(BuildContext context, QuestionResult resultFunction())? onNextStep
final

Defines what should happen if the next step is called

If the function returns true, the default behavior will still be executed after it.

Parameters:

  • context: The build context of the widget triggering the next step.
  • resultFunction: A function that returns a QuestionResult object.

Returns:

  • true if the default behavior should still be executed after this function, false otherwise.

Implementation

final bool Function(
  BuildContext context,
  QuestionResult Function() resultFunction,
)? onNextStep;