apiverve_daylightduration 1.2.3
apiverve_daylightduration: ^1.2.3 copied to clipboard
Daylight Duration Calculator computes sunrise, sunset times, and total daylight hours for any geographic location and date using astronomical algorithms.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add apiverve_daylightdurationWith Flutter:
$ flutter pub add apiverve_daylightdurationThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
apiverve_daylightduration: ^1.2.3Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:apiverve_daylightduration/apiverve_daylightduration.dart';