unit_conversion

A handy Flutter package for converting between quantities in different units.

Follow on Twitter

Using

Import the library:

import 'unit_conversion.dart';

You can use this converter to convert between the units. For example:

var celcius = UnitConverter.FahrenheitToCelsius(32.0);
print(celcius);

Features

  • fahrenheitToCelsius
  • celsiusToFahrenheit
  • celsiusToKelvin
  • kelvinToCelsius
  • milesToMeters
  • milesToKilometers
  • kilometersToMiles
  • degreesToRadians
  • radiansToDegrees
  • degreesPerSecondToRadiansPerSecond
  • radiansPerSecondToDegreesPerSecond
  • degreesPerSecondToHertz
  • radiansPerSecondToHertz
  • hertzToDegreesPerSecond
  • hertzToRadiansPerSecond
  • kilopascalsToHectopascals
  • hectopascalsToKilopascals
  • kilopascalsToPascals
  • hectopascalsToPascals
  • atmospheresToPascals
  • pascalsToAtmospheres
  • coordinatesToMiles
  • coordinatesToKilometers

Contributing

All contributions are welcome! New conversations will add

License

This project is licensed under the terms of the MIT license.

Libraries

unit_conversion
units