Day constructor
Day({
- required int day,
- required String weekDay,
- DayOptions? dayOptions,
- DayStyle? dayStyle,
- Function? onCalendarChanged,
- bool isToday = false,
- CalendarOptions? calendarOptions,
- bool isWeekStartDate = false,
- bool isWeekEndDate = false,
- 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();
}