I am trying to implement a nested router in my Flutter app using auto_router, however I have a map widget (flutter_map) that appears below the nested router which I would like to still be able to receive gestures. These gestures are by default blocked by ModalRoute, and by extension PageRoute.
Stack(
children: const [
MapWidget(), // need gestures to also get passed through to this
AutoRouter(), // renders child routes (PageRoute) which contain elements that should be clickable
],
),
Based on this GitHub issue, it appears that there's no way to disable the gesture-blocking behavior of ModalRoute. Are there any good workarounds to allow the scenario above to function as intended, with the child routes being able to receive gestures without blocking them from propagating to the map below?