setStep method
Implementation
void setStep(int step) {
if (step >= 0 && step <= maxSteps) {
_currentStep = step;
_notifyStepChanged();
notifyListeners();
}
}
void setStep(int step) {
if (step >= 0 && step <= maxSteps) {
_currentStep = step;
_notifyStepChanged();
notifyListeners();
}
}