google_maps_distance 0.0.2 copy "google_maps_distance: ^0.0.2" to clipboard
google_maps_distance: ^0.0.2 copied to clipboard

discontinuedreplaced by: google_maps_directions
outdated

Calculate distances, durations & Get shortest route/leg between two points.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'screens/distance_between_two_points.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Google Maps Distance',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const DistanceBetweenTwoPoints(),
      //home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}
7
likes
130
points
24
downloads

Publisher

verified publishertheresilient.dev

Weekly Downloads

Calculate distances, durations & Get shortest route/leg between two points.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

equatable, http

More

Packages that depend on google_maps_distance