fysoul17 / google_maps_place_picker

Place picker on Google Maps for Flutter
MIT License
224 stars 367 forks source link

selectedPlaceWidgetBuilder not updated after search if selectInitialPosition is true #34

Closed ricardochen closed 4 years ago

ricardochen commented 4 years ago

When selectInitialPosition is set to true, selectedPlaceWidgetBuilder is not fired/updated after a search is made.

To Reproduce set selectedPlaceWidgetBuilder to true do a search and click on a result Expected behavior Updates map and selectedPlaceWidgetBuilder

Screenshots If applicable, add screenshots to help explain your problem.

Flutter Doctor -v [✓] Flutter (Channel master, 1.18.0-11.0.pre, on Mac OS X 10.14.5 18F132, locale en-US) • Flutter version 1.18.0-11.0.pre at /Users/ricardochen/flutter/flutter • Framework revision 8568eda15b (4 days ago), 2020-05-05 16:10:41 -0700 • Engine revision 33d2367950 • Dart version 2.9.0 (build 2.9.0-5.0.dev 9c94f08410) Additional context Add any other context about the problem here.

fysoul17 commented 4 years ago

Hi, @ricardochen,

Unfortunately, I cannot reproduce it. If you are using Mediaquery in selectedPlaceWidgetBuilder, Please refert to #30

ricardochen commented 4 years ago

Yes it worked. Thanks

fysoul17 commented 4 years ago

No problem.

Closing as the issue has been resolved.