jumpToMonthPicker method
Shows the month picker for the given date's year, or the current year if date is null.
Implementation
void jumpToMonthPicker([DateTime? date]) {
final target = _clamp(start, switch (date) {
null => _currentMonth,
final m => .utc(m.year, m.month),
}, end);
if (month.controller.hasClients) {
month.jumpTo(target);
} else {
_reattach(month, .month, target);
}
}