nextYear method

void nextYear()

Advances to the next year.

Implementation

void nextYear() {
  _currentDate = DateTime(_currentDate.year + 1, _currentDate.month, 1);
  notifyListeners();
}