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.

example/unit_example.dart

import 'dart:math' as math;

import 'package:unit/unit.dart';

void main() {
  var halfCircle = Angle(math.pi);
  var rightAngle = Angle.fromDeg(90);

  print('This is 270 degrees: ${(halfCircle + rightAngle).deg}');
}
1
likes
0
pub points
21%
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