dayFormat property
Formats the day text in the day label of SfCalendar schedule view.
Defaults to EEE
.
See also:
- dayTextStyle, which used to customize the text style for the day text in the day header of schedule view in calendar.
- dateTextStyle, which used to customize the text style for the date text in the day header of schedule view in calendar
- Knowledge base: How to customize day, week, month header of schedule view
- Knowledge base: How to view schedule
- Knowledge base: How to customize the schedule view
@override
Widget build(BuildContext context) {
return Container(
child: SfCalendar(
view: CalendarView.schedule,
scheduleViewSettings: ScheduleViewSettings(
dayHeaderSettings: DayHeaderSettings(dayFormat: 'EEEE')),
),
);
}
Implementation
final String dayFormat;