简体   繁体   中英

How to use flutter_google_places_autocomplete in flutter using it's latest version?

I am very new to Flutter, don't know how to implement it. An example would be great.

Here's an example blog post by Alfian Losari on Medium.com. Easy to find that blog post if you search 'flutter google maps places' on google by the way.

And I suggest that you take a look at official google maps plugins changelog . Because the example in that blog post using old marker api, where you have to add your markers on GoogleMapsController. So if you want to update the plugin, you will run into problem.

The marker api has changed and you have to refactor the code in that blog post if you want to use with upgraded google maps plugin, please take a look at the answer on the question that I've asked.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM