backgroundColor property

Color backgroundColor
final

The background color to fill the background of the month label view in SfCalendar schedule view.

Defaults to null.

Using a SfCalendarTheme gives more fine-grained control over the appearance of various components of the calendar.

See also:


@override
 Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
       view: CalendarView.schedule,
       scheduleViewSettings: ScheduleViewSettings(
           monthHeaderSettings:
               MonthHeaderSettings(backgroundColor: Colors.red)),
     ),
   );
 }

Implementation

final Color backgroundColor;