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