width property

double width
final

Customizes the width of the trackball line.

Defaults to 2.

@override
Widget build(BuildContext context) {
 return Scaffold(
   body: Center(
       child: SfSparkAreaChart(
     trackball: SparkChartTrackball(width: 5,
     ),
     data: <double>[18, 24, 30, 14, 28],
   )),
 );
}

Implementation

final double width;