child property
Specifies a widget that can hold single child.
Widget build(BuildContext context) {
return Scaffold(
body: SfMapsTheme(
data: SfMapsThemeData(
brightness: Brightness.dark,
),
child: SfMaps()
),
);
}
Implementation
@override
final Widget child;