Reputation: 16300
How to AutoComplete an Address and get Lat/Long of that address in #flutter?
Upvotes: 2
Views: 8466
Reputation: 7978
This is nothing you can do directly with flutter. You need to call an API for that service. In a recent project I used HERE Autocomplete and HERE Geocoder for such a service, which worked quite well.
In Flutter you just need to work with the responses of those APIs. In my case the FutureBuilder was the perfect solution (there is even an example in the docs which is a good starting point).
Upvotes: 4
Reputation: 76293
You have to make HTTP Networking Requests in Flutter to the Place Autocomplete service that is part of the Places API Web Service.
Upvotes: 3