goToYear method

  1. @override
CalendarDateTime goToYear(
  1. int index
)
override

Implementation

@override
CalendarDateTime goToYear(index) {
  dynamic date = _getSelectedDate();
  return CalendarDateTime(year: index, month: date.month, day: 1);
}