international_system_of_units 1.0.0-dev.5 international_system_of_units: ^1.0.0-dev.5 copied to clipboard
The most complete unit converter for Dart/Flutter which also do localizations.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add international_system_of_units
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
international_system_of_units: ^1.0.0-dev.5
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:international_system_of_units/international_system_of_units.dart';