back method

void back()

Moves to the previous step if possible.

Implementation

void back() {
  if (_currentIndex > 0) {
    _currentIndex--;
    notifyListeners();
  }
}