0 purchases
distance
distance #
A simple distance library similar to Dart's duration
Getting Started #
Add the distance library in your pubspec and use it as the example below
import 'package:distance/distance.dart';
final distance = Distance(kilometers: 5, meters: 4);
print(distance.inMiles); // 3.1093414
print(distance.inMeters); // 5004
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.