previousMonth method
void
previousMonth()
Goes back to the previous month.
Implementation
void previousMonth() {
_currentDate = GregorianCalendar.addMonths(_currentDate, -1);
notifyListeners();
}
Goes back to the previous month.
void previousMonth() {
_currentDate = GregorianCalendar.addMonths(_currentDate, -1);
notifyListeners();
}