google_places_flutter 1.0.5 google_places_flutter: ^1.0.5 copied to clipboard
Custom Google places autocomplete widget for Android and iOS both. Use https://pub.dev/packages/google_places_flutter
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add google_places_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
google_places_flutter: ^1.0.5
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:google_places_flutter/google_places_flutter.dart';