flutter_google_places_autocomplete 0.1.3 flutter_google_places_autocomplete: ^0.1.3 copied to clipboard
Google places autocomplete widgets for flutter. No wrapper, use https://pub.dartlang.org/packages/google_maps_webservice
DEPRECATED
User https://pub.dartlang.org/packages/flutter_google_places instead
flutter_google_places_autocomplete #
Google places autocomplete widgets for flutter.
Getting Started #
For help getting started with Flutter, view our online documentation.
# pubspec.yaml
dependencies:
flutter:
sdk: flutter
flutter_google_places_autocomplete: <last-version>
const kGoogleApiKey = "API_KEY";
Prediction p = await showGooglePlacesAutocomplete(
context: context,
apiKey: kGoogleApiKey,
mode: Mode.overlay, // Mode.fullscreen
language: "fr",
components: [new Component(Component.country, "fr")]);
The library use google_maps_webservice library which directly refer to the official documentation for google maps web service.