dayFormat property

String dayFormat
final

Formats the day text in the view header view of SfCalendar time slot views.

Defaults to d.

See also:

Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
       view: CalendarView.workWeek,
       timeSlotViewSettings: TimeSlotViewSettings(
           startHour: 10,
           endHour: 20,
           nonWorkingDays: <int>[
             DateTime.saturday,
             DateTime.sunday,
             DateTime.friday
           ],
           timeInterval: Duration(minutes: 120),
           timeIntervalHeight: 80,
           timeFormat: 'h:mm',
           dateFormat: 'd',
           dayFormat: 'EEE',
           timeRulerSize: 70),
     ),
   );
 }

Implementation

final String dayFormat;