google_maps_places_autocomplete_widgets 1.2.3 google_maps_places_autocomplete_widgets: ^1.2.3 copied to clipboard
TextField and TextFormField widgets using Google Maps Places Api for Address Autocompletion.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add google_maps_places_autocomplete_widgets
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
google_maps_places_autocomplete_widgets: ^1.2.3
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_maps_places_autocomplete_widgets/address_autocomplete_widgets.dart';
import 'package:google_maps_places_autocomplete_widgets/api/place_api_provider.dart';
import 'package:google_maps_places_autocomplete_widgets/model/place.dart';
import 'package:google_maps_places_autocomplete_widgets/model/suggestion.dart';
import 'package:google_maps_places_autocomplete_widgets/service/address_service.dart';
import 'package:google_maps_places_autocomplete_widgets/widgets/address_autocomplete_generic.dart';
import 'package:google_maps_places_autocomplete_widgets/widgets/address_autocomplete_textfield.dart';
import 'package:google_maps_places_autocomplete_widgets/widgets/address_autocomplete_textformfield.dart';