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_machine

Date and time library with support for timezones, calendars, cultures, formatting and parsing.

pub.devRemove
ScoresHealth68 (best)50
Maintenance50 (best)0
Quality96 (best)91
Popularity4969 (best)
Community58 (best)39
Compatibility100100
UsageDownloads (30 days)46k (best)21k
Likes11152 (best)
Pub points150 / 160 (best)140 / 160
GitHub stars33125 (best)
MaintenanceLatest release4.0.0, 2 years ago (best)0.9.17, 5 years ago
Major versions in 12 months00
Contributors47 (best)
Publisherduobase.ioUnverified
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFFI (native library)Pure Dart
Code generationNoNo
Direct dependencies32 (best)
LicenseMITAPACHE-2.0
Setup effortLowMedium
JudgementStrengths
  • Synchronous platform timezone detection with TZDB identifiers
  • Low initialization cost and memory footprint through lazy loading
  • Comprehensive date-time, range, and interval types
  • Consistency across platforms including Web, Flutter, and Server
  • Comprehensive timezone and calendar system support
Weaknesses
  • Contains breaking changes across major versions
  • Depends on platform-specific implementations that might need updates
  • Requires manual asset configuration for timezones and cultures in Flutter
  • Preview status with some ongoing API stabilization
WarningsNoneNone
sugar vs time_machine: which Flutter package should you use? | pubscout