activationMode property

SparkChartActivationMode activationMode
final

Defines the gesture for activating the trackball to the closest data point.

Also refer SparkChartActivationMode.

Defaults to SparkChartActivationMode.tap.

@override
Widget build(BuildContext context) {
 return Scaffold(
   body: Center(
       child: SfSparkAreaChart(
     trackball: SparkChartTrackball(activationMode: SparkChartActivationMode.doubleTap)
        )
      ),
    );
 }

Implementation

final SparkChartActivationMode activationMode;