converter
0.4.0, released 3 years ago by dart.dkinom.dev
Dart library for converting between different units of measurement for various quantities
What it does
A library for converting measurements across quantities such as length, mass, time, temperature, area, volume, and more. It allows operations like addition, subtraction, and comparisons between units.
AI-written summary of version 0.4.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to convert measurements between different units in Dart or Flutter
- You need to perform mathematical operations and comparisons on quantities with different units
Skip it when
- You require a non-Dart implementation or a different feature set not covered by the library
Strengths
- Supports a wide range of quantities and units including SI units
- Provides arithmetic operations and comparisons between different units of the same quantity
Weaknesses
- Limited to the specific quantities and units defined by the package
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
final Length l1 = Length(2, 'm');
final num l2ValueInInches = l2.valueIn('in');
final Length sum = l1 + l2;Alternatives
Packages that do the same job and could replace converter.
- physical
Library for dealing with physical quantities, units, and conversions.
71Compare - quantity
Facilitates working with physical quantities, units, uncertainty, and arbitrary precision.
56Compare - quantify
Type-safe unit conversion and measurement library for Dart and Flutter.
61Compare - b
Dart library for converting numbers between different numeral systems and custom bases.
42Compare
Works with
Packages commonly used together with converter: ones it builds on, ones built on it, and its own family.