ma7moud3osman / easy_stepper

Flutter Package help you to build easy stepper widget with several customization
https://pub.dev/packages/easy_stepper
MIT License
90 stars 40 forks source link

Feature/specific reached steps #24

Closed thfr69 closed 1 year ago

thfr69 commented 1 year ago

With this change, the user could disable certain steps in the stepper. Useful whenever you want to jump from a step (e.g. a summary) to a previous step, but the steps between the then current step and the summary step should be deactivated or marked as unReached.

The user would have to assign the stepper a set of integer values ​​that would allow it to determine which steps it has already reached and which have yet to be reached.

Using a constructor assert I have ruled out that the parameters "maxReachedStep" and "reachedSteps" are set at the same time, since the simultaneous use of these arguments would lead to inconsistencies.

I have provided a corresponding example with external navigation (forward and back button) in the main.dart file

ma7moud3osman commented 1 year ago

Thanks @thfr69