explodeGesture property

ActivationMode explodeGesture
final

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

Implementation

final ActivationMode explodeGesture;