scrollToYear method
Scroll the view so that year
becomes visible.
Implementation
void scrollToYear(int year) {
_scroller!.scrollTop = (year - minDate!.year) * _yearHeight;
}
Scroll the view so that year
becomes visible.
void scrollToYear(int year) {
_scroller!.scrollTop = (year - minDate!.year) * _yearHeight;
}