flutter GestureDetector with the flutter map or mapbox

Viewed 310

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?

1 Answers

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.

Related