distance 0.1.1

Dart native js
Flutter Android iOS web

A simple distance library similar to Dart's duration. Use this to represent distances in an agnostic way.

distance #

style: effective dart

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
5
likes
110
pub points
49%
popularity

A simple distance library similar to Dart's duration. Use this to represent distances in an agnostic way.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

vytorcalixto@gmail.com

License

LGPL 3.0 (LICENSE)

More

Packages that depend on distance