previous method

void previous()

Implementation

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