sunrise_sunset_calc 3.0.0 copy "sunrise_sunset_calc: ^3.0.0" to clipboard
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());
}
13
likes
140
points
2.24k
downloads

Publisher

verified publisheravtobiografia.com

Weekly Downloads

Calculates sunrise and sunset time given latitude, longitude, timezone offset and date.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async, vector_math

More

Packages that depend on sunrise_sunset_calc