0 purchases
sunrise sunset calc
sunrise_sunset_calc #
Sunrise/Sunset calculation library ported from sunrisesunset
Usage #
A simple usage example:
import 'package:sunrise_sunset_calc/sunrise_sunset_calc.dart';
main() {
var sunriseSunset = getSunriseSunset(60.0, 60.0, 1, DateTime.now());
print("Sunrise is at: ${sunriseSunset.sunrise.toString()}");
print("Sunset is at: ${sunriseSunset.sunset.toString()}");
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.