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
time_machine2

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

pub.devRemove
ScoresHealth68 (best)59
Maintenance50 (best)25
Quality9696
Popularity49 (best)26
Community5880 (best)
Compatibility100100
UsageDownloads (30 days)46k (best)3.2k
Likes11 (best)10
Pub points150 / 160150 / 160
GitHub stars33 (best)6
MaintenanceLatest release4.0.0, 2 years ago0.14.0, 9 months ago (best)
Major versions in 12 months00
Contributors411 (best)
Publisherduobase.ioevoleen.com
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFFI (native library)Pure Dart
Code generationNoNo
Direct dependencies3 (best)5
LicenseMITAPACHE-2.0
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
  • Includes embedded IANA time zone database and culture rules.
  • Type-safe classes prevent mixing timestamps incorrectly.
  • Supports platforms across Flutter, Web, and Server.
Weaknesses
  • Contains breaking changes across major versions
  • Depends on platform-specific implementations that might need updates
  • Requires manual asynchronous initialization before use.
  • API can be complex compared to native DateTime.
WarningsNoneNone
sugar vs time_machine2: which Flutter package should you use? | pubscout