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

Search suggestions does not inherit theme properly #44

Open
robertevans1 opened this issue Mar 9, 2021 · 0 comments
Open

Search suggestions does not inherit theme properly #44

robertevans1 opened this issue Mar 9, 2021 · 0 comments

Comments

@robertevans1
Copy link

Wrapping the place_picker in a Theme widget changes most of the styling as desired but does not change the list of suggested places.

Theme( data: ThemeData.light(), child: Builder( builder: (context) => PlacePicker(CONSTANTS.MAPS_API), ), );

The above snippet produces a picker where most styling follows the specified ThemeData.light theme. But the list of suggested results ignores the wrapped theme and instead uses the apps main theme.

Inherits theme here:

light_theme_working

But not here:

light_theme_not_working

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

1 participant