Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedaylight

Calculate sunrise and sunset times for a location without using any remote API.

pub.devRemove
sunrise_sunset_calc

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

pub.devRemove
ScoresHealth50 (best)45
Maintenance7 (best)0
Quality96 (best)91
Popularity58 (best)23
Community69 (best)46
Compatibility100100
UsageDownloads (30 days)13k (best)1.4k
Likes49 (best)13
Pub points150 / 160 (best)140 / 160
GitHub stars64 (best)4
MaintenanceLatest release3.1.0, 3 years ago (best)3.0.0, 4 years ago
Major versions in 12 months00
Contributors6 (best)2
Publisherblue-fire.xyzavtobiografia.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies1 (best)2
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • No network or platform‑specific dependencies
  • Pure Dart, works everywhere
  • Simple API and small footprint
  • Lightweight with minimal dependencies.
  • Supports both synchronous and asynchronous usage.
  • Cross-platform support including mobile, web, and desktop.
Weaknesses
  • Limited to basic sunrise/sunset calculations
  • Outputs only UTC, no built‑in timezone handling
  • Accuracy depends on the algorithm’s assumptions
  • Relies on manual timezone offsets using Durations rather than full IANA timezone database lookups.
WarningsNoneNone
daylight vs sunrise_sunset_calc: which Flutter package should you use? | pubscout