previous method

void previous()

Implementation

void previous() {
  if (_currentIndex > 0) {
    setState(() => _currentIndex--);
    _showCurrentStep();
  }
}