width property
The width for day label to layout within this in SfCalendar schedule view.
Defaults to 50
.
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.
- dayFormat, which used to format the day text in the day 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(
dayHeaderSettings: DayHeaderSettings(width: 70)),
),
);
}
Implementation
final double width;