Google Places Autocomplete Widgets for Flutter

flutter_google_places Google Places - 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: <last-version>


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")]);

The library use google_maps_webservice library which directly refer to the official documentation for google maps web service.

Download Details:

Author: fluttercommunity

GitHub: https://github.com/fluttercommunity/flutter_google_places

#flutter #programming #dart

Google Places Autocomplete Widgets for Flutter
192.20 GEEK