child property
Specifies a widget that can hold single child.
Widget build(BuildContext context) {
return Scaffold(
body: SfCalendarTheme(
data: SfCalendarThemeData(
brightness: Brightness.dark,
backgroundColor: Colors.grey
),
child: SfCalendar()
),
);
}
Implementation
@override
final Widget child;