dashArray property
Dashes of the trackball line. Any number of values can be provided on the list. Odd value is considered as rendering size and even value is considered a gap.
Defaults to null
.
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SfSparkAreaChart(
trackball: SparkChartTrackball(dashArray: <double>[2,2],
),
data: <double>[18, 24, 30, 14, 28],
)),
);
}
Implementation
final List<double>? dashArray;