unit_transformer 1.0.1+2 copy "unit_transformer: ^1.0.1+2" to clipboard
unit_transformer: ^1.0.1+2 copied to clipboard

Unit converting library

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add unit_transformer

With Flutter:

 $ flutter pub add unit_transformer

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  unit_transformer: ^1.0.1+2

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:unit_transformer/conversion_tables.dart';
import 'package:unit_transformer/conversion_units.dart';
import 'package:unit_transformer/transformer.dart';
0
likes
130
points
5
downloads

Publisher

unverified uploader

Weekly Downloads

Unit converting library

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on unit_transformer