color property
Customizes the spark area chart color.
Defaults to null.
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SfSparkAreaChart(
color: Colors.blue,
)
),
);
}
Implementation
final Color? color;