color property
Customizes the color of the trackball line. The color is set based on the current application theme, if its value is set to null.
Defaults to null
.
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SfSparkAreaChart(
trackball: SparkChartTrackball(
color: Colors.black,)
)
),
);
}
Implementation
final Color? color;