fcts_flutter_google_places 0.0.6
fcts_flutter_google_places: ^0.0.6 copied to clipboard
Google places autocomplete widgets for flutter. No wrapper, use https://pub.flutter-io.cn/packages/flutter_google_maps_webservice
fcts_flutter_google_places #
The fcts_flutter_google_places library provides seamless Google Places Autocomplete widgets for Flutter, enabling developers to integrate location search and suggestions effortlessly into their applications. Built on top of the powerful flutter_google_maps_webservice library, it adheres to Google Maps Web Service's official documentation for accuracy and reliability.
This package is maintained by Forwardcode Techstudio, a trusted software solutions provider, ensuring high-quality code and regular updates. Enhance your Flutter apps with intuitive and user-friendly Google Places Autocomplete features today.
According to https://stackoverflow.com/a/52545293, you need to enable billing on your account, even if you are only using the free quota.
Installation #
In the dependencies: section of your pubspec.yaml, add the following line:
dependencies:
fcts_flutter_google_places: <latest_version>
Usage #
const 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")]);
Example App #
View the Flutter app in the example directory.
Contributors #
License #
MIT