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