previousMonth method

void previousMonth()

Goes back to the previous month.

Implementation

void previousMonth() {
  _currentDate = GregorianCalendar.addMonths(_currentDate, -1);
  notifyListeners();
}