headerBackgroundColor property

Color? headerBackgroundColor
final

Specifies the calendar Header background color.

Widget build(BuildContext context) {
 return Scaffold(
   appBar: AppBar(),
     body: Center(
       child: SfTheme(
         data: SfThemeData(
           calendarThemeData: SfCalendarThemeData(
             headerBackgroundColor: Colors.brown
             )
           ),
         child: SfCalendar(),
         ),
     )
  );
}

Implementation

final Color? headerBackgroundColor;