activationMode property
Gesture for activating the trackball.
Trackball can be activated in tap, double tap and long press.
Defaults to ActivationMode.longPress
.
Also refer ActivationMode
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
trackballBehavior: TrackballBehavior(
enable: true,
activationMode: ActivationMode.doubleTap
),
));
}
Implementation
final ActivationMode activationMode;