FCalendarDayPickerStyle constructor

const FCalendarDayPickerStyle({
  1. required TextStyle headerTextStyle,
  2. required ({FCalendarDayStyle current, FCalendarDayStyle enclosing}) selectableStyles,
  3. required ({FCalendarDayStyle current, FCalendarDayStyle enclosing}) unselectableStyles,
  4. int? startDayOfWeek,
})

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).',
      );