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