dashArray property

List<double>? dashArray
final

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])
      )
    ),
  );
}

Implementation

final List<double>? dashArray;