Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributesugar

Standard library extension for date-times, timezones, collections, and monads.

pub.devRemove
sunrise_sunset_calc

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

pub.devRemove
ScoresHealth67 (best)45
Maintenance49 (best)0
Quality96 (best)91
Popularity49 (best)23
Community58 (best)46
Compatibility100100
UsageDownloads (30 days)46k (best)1.4k
Likes1113 (best)
Pub points150 / 160 (best)140 / 160
GitHub stars33 (best)4
MaintenanceLatest release4.0.0, 2 years ago (best)3.0.0, 4 years ago
Major versions in 12 months00
Contributors4 (best)2
Publisherduobase.ioavtobiografia.com
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFFI (native library)Pure Dart
Code generationNoNo
Direct dependencies32 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Synchronous platform timezone detection with TZDB identifiers
  • Low initialization cost and memory footprint through lazy loading
  • Comprehensive date-time, range, and interval types
  • Lightweight with minimal dependencies.
  • Supports both synchronous and asynchronous usage.
  • Cross-platform support including mobile, web, and desktop.
Weaknesses
  • Contains breaking changes across major versions
  • Depends on platform-specific implementations that might need updates
  • Relies on manual timezone offsets using Durations rather than full IANA timezone database lookups.
WarningsNoneNone
sugar vs sunrise_sunset_calc: which Flutter package should you use? | pubscout