在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):fluttercommunity/flutter_google_places开源软件地址(OpenSource Url):https://github.com/fluttercommunity/flutter_google_places开源编程语言(OpenSource Language):Dart 94.7%开源软件介绍(OpenSource Introduction):flutter_google_placesThis library provides Google places autocomplete widgets for flutter. It uses google_maps_webservice library which directly refer to the official documentation for google maps web service. According to https://stackoverflow.com/a/52545293, you need to enable billing on your account, even if you are only using the free quota. InstallationIn the dependencies:
flutter_google_places: <latest_version> Usageconst kGoogleApiKey = "API_KEY";
Prediction p = await PlacesAutocomplete.show(
context: context,
apiKey: kGoogleApiKey,
mode: Mode.overlay, // Mode.fullscreen
language: "fr",
components: [new Component(Component.country, "fr")]); Examples:Example AppView the Flutter app in the |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论