explodeGesture property
Gesture for activating the explode. Explode can be activated in tap, double tap, and long press.
Defaults to ActivationMode.tap
Also refer ActivationMode
Widget build(BuildContext context) {
return Container(
child: SfPyramidChart(
series: PyramidSeries<ChartData, String>(
explode: true,
explodeGesture: ActivationMode.singleTap
)
));
}
Implementation
final ActivationMode explodeGesture;