backgroundColor property
Specifies the background color of calendar widgets.
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: Center(
child: SfTheme(
data: SfThemeData(
calendarThemeData: SfCalendarThemeData(
backgroundColor: Colors.grey
)
),
child: SfCalendar(),
),
)
);
}
Implementation
final Color? backgroundColor;