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