fysoul17 / google_maps_place_picker

Place picker on Google Maps for Flutter
MIT License
227 stars 368 forks source link

How to modify the search bar and the suggest list? #39

Open mdat31 opened 4 years ago

mdat31 commented 4 years ago

How can i remove the search bar?

1

fysoul17 commented 4 years ago

Hi,

Unfortunately, as it is the main feature of the package, it does not provide the feature of hiding the search bar.

One good quick way is to fork it and just remove Autocomplete component on your side.

However, I will consider putting optional parameter to hide it later.

giorgio79 commented 4 years ago

Just suggested a related feature https://github.com/fysoul17/google_maps_place_picker/issues/50

WianSnyman commented 4 years ago

Is there a way to increase the padding of the search bar so that is appears a little lower?

fysoul17 commented 4 years ago

No, it is actually positioned 'inside' of default AppBar which you cannot modify the height unless we switch to SliverAppBar.

diego-lipinski-de-castro commented 4 years ago

Would be nice to be able to customize at least some aspects of the search bar.

xJon commented 4 years ago

Would be a great feature!

abdulrehmank7 commented 3 years ago

I created a simple utility class using Google place rest APIs - https://arkapp.medium.com/flutter-and-google-map-for-beginners-part-1-fdba4ab22148