apptreesoftware / flutter_google_map_view

A flutter plugin for Google Maps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WillPopScope functionality

morad00 opened this issue · comments

Is there any way to handle back button (in android) after opening the map? I saw a widget called seems that's what I need but how to use it here ?
I want to attempt the user to dismiss the map_view

Are you trying to handle the close button in the scaffold?

@MathieuAuclair something like this but inside the mapView.show() not for the main scaffold

Yes but when you execute mapView.show(), you get a new widget with it's own scaffold, are you trying to control the close button?
debug

Maybe a stream to send for the main class a information that the map was close.