unit 1.0.1 copy "unit: ^1.0.1" to clipboard
unit: ^1.0.1 copied to clipboard

outdated

Three types: Angle, HourAngle, and Time, useful in astronomy applications.

Unit #

Three types: Angle, HourAngle, and Time, useful in astronomy applications.

This is a Dart port of the original Go library created by Sonia Keys and hosted at https://github.com/soniakeys/unit.

These types are all angle-like types. The Time type is at least angle-related. It has conversions to and from the other types and has a function to wrap a Time value to the fractional part of a day.

Motivation #

This package supports https://github.com/shawnlauzon/meeus, which implements a large colection of astronomy algorithms.

Install #

1. Depend on it #

Add this to your package's pubspec.yaml file:

dependencies:
  unit: ^1.0.1

2. Install it #

Install the package from the command line:

$ flutter pub get

3. Import it #

Add to your dart code:

import 'package:unit/unit.dart'

License #

MIT

1
likes
0
pub points
18%
popularity

Publisher

unverified uploader

Three types: Angle, HourAngle, and Time, useful in astronomy applications.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on unit