'How can I listen Tap Event outside a container in Flutter?
I am trying to vanish a container whenever I tap outside the container
Solution 1:[1]
Check this package: https://pub.dev/packages/tap_canvas
Detect taps outside the currently defined widget and provide a callback when taps occur.
It has some problems with auto update at the moment (2021.01) , put it manually in a lib\something.. directory.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Viktor Kadza Jr. |
