googlemaps_flutter_webservices 1.0.2 googlemaps_flutter_webservices: ^1.0.2 copied to clipboard
Google maps web services for flutter (Geocoding, Places, Directions, Distance Matrix, Photos, Timezone, Static Map)
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add googlemaps_flutter_webservices
With Flutter:
$ flutter pub add googlemaps_flutter_webservices
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
googlemaps_flutter_webservices: ^1.0.2
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:googlemaps_flutter_webservices/directions.dart';
import 'package:googlemaps_flutter_webservices/distance.dart';
import 'package:googlemaps_flutter_webservices/geocoding.dart';
import 'package:googlemaps_flutter_webservices/geolocation.dart';
import 'package:googlemaps_flutter_webservices/places.dart';
import 'package:googlemaps_flutter_webservices/staticmap.dart';
import 'package:googlemaps_flutter_webservices/timezone.dart';