Closed jefferyleo closed 4 years ago
Hi,
It seems like you are using the widget with MediaQuery which will re-build the widget when the keyboard pops up. It is intended behaviour of MediaQuery widget, please refer to the link.
Querying the current media using MediaQuery.of will cause your widget to rebuild automatically whenever the MediaQueryData changes (e.g., if the user rotates their device).
If you are not using MediaQuery, some other parent widget is triggering re-build and thus the PlacePicker is reloading the map every time.
Closing as there is no further update.
Please feel free to post an update to re-open the issue.
The google map is loaded without any issue, however when I selected the autocomplete from search result, it wouldn't move the map to the selected autocomplete location instead of staying at the current location.
To Reproduce Steps to reproduce the behavior:
Screenshots Google Autocomplete error.zip I've screen recording the error from my phone *Sorry for the noise of the video As you can see in the video, after I choose the autocomplete result, it just return to the map with current location.
Flutter Doctor -v
Additional Remarks I've tried with Flutter Clean, Reinstall the app, it's still the same thing happened.