allDayPanelColor property
The color which fills the SfCalendar all day panel background.
Defaults to null.
Using a SfCalendarTheme
gives more fine-grained control over the
appearance of various components of the calendar.
See also:
backgroundColor
, will fill the background of the calendar. *CalendarHeaderStyle.backgroundColor, will fill the header background of the calendar. *ViewHeaderStyle.backgroundColor, will fill the view header background of the calendar.
Widget build(BuildContext context) {
return Container(
child: SfCalendar(
view: CalendarView.week,
timeSlotViewSettings: TimeSlotViewSettings(
allDayPanelColor : Colors.green),
),
);
}
Implementation
final Color? allDayPanelColor;