weekNumberBackgroundColor property

Color? weekNumberBackgroundColor
final

Specifies the background for the week number panel.

Widget build(BuildContext context) {
   return Scaffold(
   appBar: AppBar(),
     body: Center(
       child: SfTheme(
         data: SfThemeData(
           calendarThemeData: SfCalendarThemeData(
             weekNumberBackgroundColor: Colors.blue,
           weekNumberTextStyle: TextStyle(color: Colors.grey,
           fontSize: 20),
           )
         ),
         child: SfCalendar(),
         ),
     )
  );
}

Implementation

final Color? weekNumberBackgroundColor;