Skip to content

Add Background Color Customization to flutter_google_places_hoc081098 #37

Description

@AizanSagheer

Hello,

I’m using the flutter_google_places_hoc081098 package in my Flutter project. There is no option to customize the background color of the autocomplete dropdown.

Steps to Reproduce:

Use the PlacesAutocomplete.show method to display the autocomplete overlay.
Try to change the background color of the autocomplete overlay.

Expected Behavior:

There should be a way to customize the background color of the autocomplete overlay (in addition to customizing the text color), so developers can align the widget's UI with their app's theme.

Current Behavior:

While I can change the text color using ThemeData and TextStyle, there is no clear option to change the background color of the autocomplete dropdown.

Proposed Solution:

It would be helpful to introduce a parameter (e.g., backgroundColor or decoration) that allows developers to set the background color for the autocomplete overlay.

Environment:

flutter_google_places_hoc081098 version: 1.2.0
Flutter version: 3.16.5

Screenshot_20240924_160738_Salama

Thank you!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions