ribs_units 1.0.0-dev.12
ribs_units: ^1.0.0-dev.12 copied to clipboard
Type-safe units of measurement with dimensional analysis that catches unit mismatch errors at compile time.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ribs_unitsWith Flutter:
$ flutter pub add ribs_unitsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
ribs_units: ^1.0.0-dev.12Alternatively, 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:ribs_units/ribs_units.dart';