brightness property

Brightness? brightness
final

The brightness of the overall theme of the application for the calendar widgets.

If brightness is not specified, then based on the Theme.of(context).brightness, brightness for calendar widgets will be applied.

Also refer Brightness.

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

Implementation

final Brightness? brightness;