Last updated:
0 purchases
google places flutter api
google_places_flutter_api #
Google places autocomplete widgets for flutter.
NB: You need to enable billing on your google account to utilize place autocomplete services.
Installation #
In the dependencies: section of your pubspec.yaml, add the following line:
dependencies:
google_places_flutter_api: <latest_version>
copied to clipboard
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")]
);
copied to clipboard
Examples: #
Feature Requests and Issues #
Please file feature requests and bugs at the issue tracker.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.