setMonthYear method
Sets the month-year wheel picker's selected month and year, and updates currentMonth. Does nothing if the
month-year wheel picker.
Implementation
void setMonthYear(int month, int year) {
if (!_wheel) {
return;
}
final next = _clamp(.utc(start.year, start.month), .utc(year, month), .utc(end.year, end.month));
if (next != _currentMonth) {
_currentMonth = next;
notifyListeners();
}
}