'onTap not working on Polygons / Google Maps Flutter
I'm using google_maps_flutter(https://pub.dev/packages/google_maps_flutter) package.
Widget structure is Scaffold > Stack > GoogleMap
The problem is that Markers' onTap events works fine but Polygons' onTap events don't fire at all.
Why is this?
Solution 1:[1]
Make consumeTapEvents: true, which is an attribute of Polygon.
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 | Muktadir Sony |
