CleverControlsWidgetBuilder typedef

CleverControlsWidgetBuilder = Widget Function(BuildContext context, {bool isStepActive, dynamic onStepCancel({dynamic value})?, dynamic onStepContinue({dynamic value})?, int stepIndex, CleverStepState stepState})

A builder that creates a widget given the two callbacks onStepContinue and onStepCancel and gives stepIndex, stepState, and isStepActive.

Used by CleverStepper.controlsBuilder.

See also:

Implementation

typedef CleverControlsWidgetBuilder = Widget Function(BuildContext context,
    {int stepIndex,
    CleverStepState stepState,
    bool isStepActive,
    Function({dynamic value})? onStepContinue,
    Function({dynamic value})? onStepCancel});