goToYear method
Implementation
void goToYear({required int year}) {
_currentPage = year - widget.firstDate.year;
_pageController.jumpToPage(_currentPage);
}
void goToYear({required int year}) {
_currentPage = year - widget.firstDate.year;
_pageController.jumpToPage(_currentPage);
}