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