backgroundColor property

Color? backgroundColor
final

The background color to fill the background of the SfCalendar.

Defaults to null.

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

See also:


Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
       view: CalendarView.week,
       backgroundColor: Colors.transparent,
     ),
   );
 }

Implementation

final Color? backgroundColor;