I am new in the flutter and my problem is when the GestureDetector child is a flutter map a OnTapUp method not response but when the child is a container every things work fine. How to get response from OnTapUp when GestureDetector child is a flutter map?
Asked
Active
Viewed 480 times
2
-
have you find any solution for this problem..?? β benten Jan 27 '22 at 14:28
2 Answers
0
You can only add one event listener to a single event.
The mapbox widget (and any other map widget) will take the OnTapUp event, so you cannot listen to it a second time.

Joran
- 154
- 1
- 10
-
1but do you know how i can detect the onTapUp event or somethings like that that help me to catch this event? β Masoud H Nov 11 '20 at 13:46
0
maybe you could use a stack and create button over it with transparent background.

Abhishek kumar
- 11
- 2
-
As itβs currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). β Community Jan 24 '23 at 07:59