visibleDateTime property
DateTime
visibleDateTime
Return year and month to be shown by the currentIndex of pageView
Implementation
DateTime get visibleDateTime {
final monthDif = this - initialPageIndex;
final visibleYear = _visibleYear(monthDif);
final visibleMonth = _visibleMonth(monthDif);
return DateTime(visibleYear, visibleMonth);
}