sunrise_sunset_calc 2.2.0
sunrise_sunset_calc: ^2.2.0 copied to clipboard
Calculates sunrise and sunset time given latitude, longitude, timezone offset and date.
example/sunrise_sunset_calc_example.dart
import 'package:sunrise_sunset_calc/sunrise_sunset_calc.dart';
void main() {
var sunriseSunset = getSunriseSunset(60.0, 60.0, 1, DateTime.now());
print(sunriseSunset.toString());
}