FCalendarDayPickerStyle constructor
const
FCalendarDayPickerStyle({
- required TextStyle headerTextStyle,
- required ({FCalendarDayStyle current, FCalendarDayStyle enclosing}) selectableStyles,
- required ({FCalendarDayStyle current, FCalendarDayStyle enclosing}) unselectableStyles,
- int? startDayOfWeek,
Creates a FCalendarDayPickerStyle.
Implementation
const FCalendarDayPickerStyle({
required this.headerTextStyle,
required this.selectableStyles,
required this.unselectableStyles,
this.startDayOfWeek,
}) : assert(
startDayOfWeek == null || (DateTime.monday <= startDayOfWeek && startDayOfWeek <= DateTime.sunday),
'startDayOfWeek must be between DateTime.monday (1) and DateTime.sunday (7).',
);