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