google_maps_distance 0.0.1+2
google_maps_distance: ^0.0.1+2 copied to clipboard
Calculate distances, durations & Get shortest route/leg between two points.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add google_maps_distanceThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
google_maps_distance: ^0.0.1+2Alternatively, 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_distance/google_maps_distance.dart';