qty 0.5.0 copy "qty: ^0.5.0" to clipboard
qty: ^0.5.0 copied to clipboard

outdated

Quantities representation and unit conversions. Defines most common units for several physical properties such as Mass, Length, Volume and Time.

Quantities representation and unit conversions #

0.5.0 #

Introduction of generics to define the kind of Unit and kind of Quantity, such as in Unit<Mass> or Quantity<Length>.

0.4.2 #

Fix CompoundUnits constructors to maintain original PhysicalProperty reference.

0.4.1 #

Removed all exports but qty/qty.dart Fix missing exports post last refactoring.

0.4.0 #

Introduction of Temperature quantities Suport for the 4 known units (Kelvin, Celcius, Fahrenheit and Rankine). Some class realocation in a better file structure.

0.3.0 #

Introduction of CompoundUnit and CompoundPhysicalProperty.
Refactoring existing measurements to inherit and use new LinearConvertibleSystemOfUnits and LinearConvertibleUnit.
Speed quantities.

0.2.1 #

README.md updates.

0.2.0 #

ImperialSystemOfUnits static constructor in Length, Mass and Volume.
Quantity print method to set unitName and fractionDigits format.
README.md updates.

0.1.4 #

Github account renamed.

0.1.3 #

Time quantities.
InternationalSystemOfUnits with optional LinearUnitConverter to replace PowerOfTenUnitConverter.

0.1.2 #

Formatting (dartfmt).
Documentation.
SystemOfMeasurement.baseUnit made final (late final).

0.1.1 #

Length quantities.
Misspelling fixes.
Better mass usage example.

0.1.0 #

Initial version with Dimensionless, Mass and Volume quantities.

4
likes
0
points
28
downloads

Publisher

verified publishernogueira.cc

Weekly Downloads

2024.07.08 - 2025.01.20

Quantities representation and unit conversions. Defines most common units for several physical properties such as Mass, Length, Volume and Time.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

equatable

More

Packages that depend on qty