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
305 stars 422 forks source link

make debounce configurable. debounce calls to API #92

Closed stevenspiel closed 4 years ago

stevenspiel commented 4 years ago

Putting a debounce on the _queryBehavior.stream wasn't working for me. It was still calling the API as quickly as I was typing. I was getting lots of rate limit errors. This solution seems to do the trick.

KevMorelli commented 4 years ago

Thank you! 👍