child property
Specifies a widget that can hold single child.
Widget build(BuildContext context) {
return Scaffold(
body: SfTreemapTheme(
data: SfTreemapThemeData(
brightness: Brightness.light
),
child: SfTreemap(),
),
);
}
Implementation
@override
final Widget child;