Google Maps widget in Flutter, how to move or remove zoom button

Viewed 653

So basically I was wondering if there's any way to move the position of this button, or even remove it.

enter image description here

I need to move/remove it because when using extendBody: true in order to show the map even behind of the FBA, the button stays in the middle of the BottomNavBar.

Thanks!

1 Answers

You can change the visibility of the zoom control buttons by setting the zoomControlsEnabled property (docs) when displaying the Google Maps widget:


GoogleMap(
  ...
  zoomControlsEnabled: false,
  ...
)

Related