endDateFormat property
Formats the week end date text in the week label of SfCalendar schedule view.
Defaults to null.
See also:
- startDateFormat, which used to format the start date text in the week header view of schedule view in calendar.
- textAlign, which used to align the text on the week header view of schedule view in calendar.
- weekTextStyle, which used to customize the text style for the text in the week header view 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(
weekHeaderSettings: WeekHeaderSettings(
endDateFormat: 'dd, MMM, yyyy'
)),
),
);
}
Implementation
final String? endDateFormat;