Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Background Color Customization to flutter_google_places_hoc081098 #37

Open
AizanSagheer opened this issue Sep 24, 2024 · 1 comment
Assignees

Comments

@AizanSagheer
Copy link

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!

@hoc081098
Copy link
Owner

Thanks. I will take a look at it :pray

@hoc081098 hoc081098 self-assigned this Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants