fysoul17 / google_maps_place_picker

Place picker on Google Maps for Flutter
MIT License
222 stars 357 forks source link

Suggestion list doesn't inherit theme #97

Open robertevans1 opened 3 years ago

robertevans1 commented 3 years ago

Describe the bug The list of suggested places does not inherit the theme.

To Reproduce

Wrapping the place picker in a Theme, the list of suggested places is inheriting my main app theme (blue) but not the parent one (white).

Theme(
  data: ThemeData.from(
    colorScheme: ColorScheme(
      background: Colors.white,
    ),
  ),
  child: PlacePicker(
   ...
  ),
),

Expected behavior The list of suggested results should inherit the theme from it's parent.

Screenshots SearchBackground

Flutter Doctor -v

Additional context Add any other context about the problem here.