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: SfCircularChart(
series: <PieSeries<ChartData, String>>[
PieSeries<ChartData, String>(
explode: true,
explodeGesture: ActivationMode.singleTap
),
],
)
);
}
Implementation
final ActivationMode explodeGesture;