Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributesunrise_sunset_calc

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

pub.devRemove
time_machine2

Comprehensive date and time library with support for timezones, calendars, cultures, and parsing.

pub.devRemove
ScoresHealth4559 (best)
Maintenance025 (best)
Quality9196 (best)
Popularity2326 (best)
Community4680 (best)
Compatibility100100
UsageDownloads (30 days)1.4k3.2k (best)
Likes13 (best)10
Pub points140 / 160150 / 160 (best)
GitHub stars46 (best)
MaintenanceLatest release3.0.0, 4 years ago0.14.0, 9 months ago (best)
Major versions in 12 months00
Contributors211 (best)
Publisheravtobiografia.comevoleen.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies2 (best)5
LicenseMITAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • Lightweight with minimal dependencies.
  • Supports both synchronous and asynchronous usage.
  • Cross-platform support including mobile, web, and desktop.
  • Includes embedded IANA time zone database and culture rules.
  • Type-safe classes prevent mixing timestamps incorrectly.
  • Supports platforms across Flutter, Web, and Server.
Weaknesses
  • Relies on manual timezone offsets using Durations rather than full IANA timezone database lookups.
  • Requires manual asynchronous initialization before use.
  • API can be complex compared to native DateTime.
WarningsNoneNone
sunrise_sunset_calc vs time_machine2: which Flutter package should you use? | pubscout