sunrise_sunset_calc 3.0.0 sunrise_sunset_calc: ^3.0.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, Duration(hours: 1), DateTime.now());
print(sunriseSunset.toString());
}