fysoul17 / google_maps_place_picker

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

selectedPlace.formattedAddress was called on null #137

Closed hasnainsaeed9692 closed 2 years ago

hasnainsaeed9692 commented 2 years ago

I'm using selectedPlaceWidgetBuilder for my custom bottom sheet. I've asigend selectedPlace.formattedAddress to a text when the user select location in maps the text will show the address. But when I open the PlacePicker page and select the location either by selecting the current location button or by changing the marker. Only the first time the formattedAddress was called on null error ocures for some seconds and the the formattedAddress shows in the text widget. Please help