Add support for 'ignorepointer' widget

Actions & Logic

We have a container with a card inside of it. When the card is editable and tapped, the user can edit the text widget that's on it. When the text is not editable, we want the tap event to be handled by the container.

From what I understand, Flutter's "IgnorePointer" is a perfect fit for this -- but it's not exposed in Flutterflow. Is there another easy way to handle this scenario?

(For reference, someone else asked for this in 2023 -- link is here)

https://legacy-community.flutterflow.io/c/suggestions-and-feedback/ignorepointer-support

What have you tried so far?

I can duplicate the code in the container that handles the tap event, using a conditional on the child event, but I'd really rather not do that -- making for more difficult code maintenance.

Flutter's existing IgnorePointer widget seems like the way to go, but it's not exposed in FlutterFlow.

Is there an easy way to add this ourselves to FlutterFlow? Or another way to pass the OnTap event to the outer container?

Did you check FlutterFlow's Documentation for this topic?
Yes
1