setStep method

void setStep(
  1. int step
)

Implementation

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