fluttercommunity / flutter_google_places

Google Places - Google places autocomplete widgets for flutter. No wrapper, use https://pub.dev/packages/google_maps_webservice. Maintainer: @juliansteenbakker
https://pub.dev/packages/flutter_google_places
Other
304 stars 415 forks source link

Add onSelected handler to return the full Prediction #95

Closed dereklakin closed 4 years ago

dereklakin commented 4 years ago

Added an onSelected handler for the PlacesAutocompleteField to expose the full Prediction rather than just the description. Personally, I'd replace onChanged with this, but that would be a breaking change and it's not my call :)

KevMorelli commented 4 years ago

Thank you!, I also think it will be better to return the full prediciton, will add later an issue to implement it in the future.

dereklakin commented 4 years ago

Thank you! :)