google_maps_place_picker icon indicating copy to clipboard operation
google_maps_place_picker copied to clipboard

How to modify the search bar and the suggest list?

Open mdat31 opened this issue 4 years ago • 7 comments

How can i remove the search bar?

1

mdat31 avatar May 27 '20 09:05 mdat31

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.

fysoul17 avatar Jun 03 '20 03:06 fysoul17

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

giorgio79 avatar Jul 02 '20 05:07 giorgio79

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

WianSnyman avatar Aug 26 '20 11:08 WianSnyman

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

fysoul17 avatar Aug 26 '20 14:08 fysoul17

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

Would be a great feature!

xJon avatar Nov 11 '20 22:11 xJon

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

abdulrehmank7 avatar Aug 26 '21 07:08 abdulrehmank7