selectionGesture property

ActivationMode selectionGesture
final

Gesture for activating the selection.

Selection can be activated in ActivationMode.none, ActivationMode.singleTap, ActivationMode.doubleTap, and ActivationMode.longPress.

Defaults to ActivationMode.singleTap.

Also refer ActivationMode.

late SelectionBehavior _selectionBehavior;

void initState() {
  _selectionBehavior = SelectionBehavior(enable: true);
  super.initState();
}

Widget build(BuildContext context) {
   return Container(
       child: SfFunnelChart(
          selectionGesture: ActivationMode.singleTap,
          series: FunnelSeries<ChartData, String>(
                 selectionBehavior: _selectionBehavior
            ),
       )
  );
}

Implementation

final ActivationMode selectionGesture;