astrocalc 0.0.1 copy "astrocalc: ^0.0.1" to clipboard
astrocalc: ^0.0.1 copied to clipboard

Dart 1 only

A library for calculating sun and moon positions and phases.

example/astrocalc_example.dart

import 'package:astrocalc/astrocalc.dart';

main() {
  SunCalc sunCalc = new SunCalc(
    date: new DateTime.now(),
    longitude: 3.3839178,
    latitude: 6.5069113
  );
  print(sunCalc.position);
  print(sunCalc.times);
}
0
likes
40
pub points
0%
popularity

Publisher

unverified uploader

A library for calculating sun and moon positions and phases.

Homepage

License

MIT (LICENSE)

More

Packages that depend on astrocalc