0 purchases
unit conversion
unit_conversion
A handy Flutter package for converting between quantities in different units.
Using #
Import the library:
import 'unit_conversion.dart';
copied to clipboard
You can use this converter to convert between the units. For example:
var celcius = UnitConverter.FahrenheitToCelsius(32.0);
print(celcius);
copied to clipboard
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.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.