SfCalendarTheme constructor Null safety

const SfCalendarTheme(
  1. {Key? key,
  2. required SfCalendarThemeData data,
  3. required Widget child}
)

Constructor for the calendar theme class, which applies a theme to descendant Syncfusion calendar widgets.

Implementation

const SfCalendarTheme({Key? key, required this.data, required this.child})
    : super(key: key, child: child);