0 purchases
clever stepper
CleverStepper #
Modified version of Stepper from material library with extra juices. Maintained by CleverFlow.
How's it different from Stepper from Material? #
The controlsBuilder() in Material's Stepper doesn't have the context of the step for which the builder is called. Because of this, it's not possible to customize the controls depending of the step or it's status. CleverStepper solves that.
Usage #
Apart from the regular niceties of Stepper widget from the Material.dart class, this package provides three extra params in the controlsBuilder() override. These are as follows:
Note: controlsBuilder() is called for each step.
Property
Type
Description
stepIndex
int
Step's index
stepState
CleverStepState
CleverStepState for the step
isStepActive
bool
Whether or not the step is active
trailing
Widget
Add a trailing widget to the step
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.