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

outdated

A set of types 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

A set of types useful in astronomy applications

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on unit