goToStep method

void goToStep(
  1. int step
)

Implementation

void goToStep(int step) {
  if (step >= 0 && step < steps.length) {
    _currentStep = step;
    notifyListeners();
  }
}