toggleMonthYearPicker method

void toggleMonthYearPicker()

Shows the month-year wheel if the day grid is shown, and the day grid otherwise.

Implementation

void toggleMonthYearPicker() {
  if (_wheel) {
    day.reattach(_currentMonth);
    _wheel = false;
  } else {
    _wheel = true;
  }
  notifyListeners();
}