selectionGesture property

ActivationMode selectionGesture
final

Gesture for activating the selection. Selection can be activated in tap, double tap, and long press.

Defaults to ActivationMode.tap.

Also refer ActivationMode.

Widget build(BuildContext context) {
   return Container(
       child: SfCircularChart(
           selectionGesture: ActivationMode.singleTap,
           series: <PieSeries<ChartData, String>>[
               PieSeries<ChartData, String>(
                 selectionSettings: SelectionSettings(
                   selectedColor: Colors.red.withOpacity(0.8),
                   unselectedColor: Colors.grey.withOpacity(0.5)
                 ),
               ),
             ],
       ));
}

Implementation

final ActivationMode selectionGesture;