leadingDatesBackgroundColor property
Specifies the background for the leading dates month cells.
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: Center(
child: SfTheme(
data: SfThemeData(
calendarThemeData: SfCalendarThemeData(
leadingDatesBackgroundColor: Colors.deepPurpleAccent
)
),
child: SfCalendar(),
),
)
);
}
Implementation
final Color? leadingDatesBackgroundColor;