CalendarYear.fromDate constructor

CalendarYear.fromDate(
  1. Date date, {
  2. CalendarState? state,
  3. int startingWeekday = DateTime.monday,
})

Implementation

CalendarYear.fromDate(Date date,
    {CalendarState? state, int startingWeekday = DateTime.monday})
    : this(date.year, state, startingWeekday: startingWeekday);