unitates 0.0.1 unitates: ^0.0.1 copied to clipboard
Unit Conversion Library.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add unitates
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
unitates: ^0.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:unitates/area.dart';
import 'package:unitates/area_unit.dart';
import 'package:unitates/data_transfer_rate.dart';
import 'package:unitates/data_transfer_rate_unit.dart';
import 'package:unitates/digital_storage.dart';
import 'package:unitates/digital_storage_unit.dart';
import 'package:unitates/energy.dart';
import 'package:unitates/energy_unit.dart';
import 'package:unitates/frequency.dart';
import 'package:unitates/frequency_unit.dart';
import 'package:unitates/fuel_economy.dart';
import 'package:unitates/fuel_economy_unit.dart';
import 'package:unitates/length.dart';
import 'package:unitates/length_unit.dart';
import 'package:unitates/mass.dart';
import 'package:unitates/mass_unit.dart';
import 'package:unitates/plane_angle.dart';
import 'package:unitates/plane_angle_unit.dart';
import 'package:unitates/pressure.dart';
import 'package:unitates/pressure_unit.dart';
import 'package:unitates/speed.dart';
import 'package:unitates/speed_unit.dart';
import 'package:unitates/temperature.dart';
import 'package:unitates/temperature_unit.dart';
import 'package:unitates/time.dart';
import 'package:unitates/time_unit.dart';
import 'package:unitates/volume.dart';
import 'package:unitates/volume_unit.dart';