Skip to main content

TransparentPointer

TransparentPointer is the solution to "How to pass through all gestures between two widgets in Stack" problem.

For example, if there is an ElevatedButton inside Container with GestureDetector then tapping on a button won't be "visible" to a gesture detector behind it. With TransparentPointer a tapping event doesn't stop on a button, but goes up to the parent, similar to event bubbling in HTML/JS.

Example

python/controls/utility/transparent-pointer/transparent-pointer-example.py
loading...

Properties

content

The Control that should be displayed inside the TransparentPointer.