sunrise_sunset_calc library

Support for doing something awesome.

More dartdocs go here.

Classes

SunriseSunsetResult
Result of SunriseSunset calculation

Functions

getSunriseSunset(double latitude, double longitude, Duration utcOffset, DateTime date) SunriseSunsetResult
GetSunriseSunset function is responsible for calculating the apparent Sunrise and Sunset times. If some parameter is wrong it will throw an error.
getSunriseSunsetAsync(double latitude, double longitude, Duration utcOffset, DateTime date) Future<SunriseSunsetResult>
GetSunriseSunset function is responsible for calculating the apparent Sunrise and Sunset times. If some parameter is wrong it will throw an error.