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
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