Day constructor

Day({
  1. required int day,
  2. required String weekDay,
  3. DayOptions? dayOptions,
  4. DayStyle? dayStyle,
  5. Function? onCalendarChanged,
  6. bool isToday = false,
  7. CalendarOptions? calendarOptions,
  8. bool isWeekStartDate = false,
  9. bool isWeekEndDate = false,
  10. bool isInBetweenWeekDate = false,
})

Implementation

Day(
    {required this.day,
    required this.weekDay,
    this.dayOptions,
    this.dayStyle,
    this.onCalendarChanged,
    this.isToday = false,
    this.calendarOptions,
    this.isWeekStartDate = false,
    this.isWeekEndDate = false,
    this.isInBetweenWeekDate = false})
    : super() {
  dayOptions ??= DayOptions();
  dayStyle ??= const DayStyle();
  calendarOptions ??= CalendarOptions();
}