google_location_autocomplete_textfield_flutter 0.1.6 google_location_autocomplete_textfield_flutter: ^0.1.6 copied to clipboard
Custom Google places autocomplete widget for Android and iOS both.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add google_location_autocomplete_textfield_flutter
With Flutter:
$ flutter pub add google_location_autocomplete_textfield_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
google_location_autocomplete_textfield_flutter: ^0.1.6
Alternatively, your editor might support dart pub get
or 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_location_autocomplete_textfield_flutter/DioErrorHandler.dart';
import 'package:google_location_autocomplete_textfield_flutter/app_images.dart';
import 'package:google_location_autocomplete_textfield_flutter/error_response.dart';
import 'package:google_location_autocomplete_textfield_flutter/google_location_autocomplete_textfield.dart';
import 'package:google_location_autocomplete_textfield_flutter/model/place_details.dart';
import 'package:google_location_autocomplete_textfield_flutter/model/place_type.dart';
import 'package:google_location_autocomplete_textfield_flutter/model/prediction.dart';