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
timezone

Time zone databases and time zone aware DateTime class in Dart.

pub.devRemove
ScoresHealth6894 (best)
Maintenance5093 (best)
Quality96100 (best)
Popularity4994 (best)
Community5880 (best)
Compatibility100100
UsageDownloads (30 days)46k5.3M (best)
Likes11597 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars3353 (best)
MaintenanceLatest release4.0.0, 2 years ago0.11.2, 6 weeks ago (best)
Major versions in 12 months00
Contributors470 (best)
Publisherduobase.iotools.dart.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFFI (native library)Pure Dart
Code generationNoNo
Direct dependencies32 (best)
LicenseMITBSD-2-CLAUSE
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 comprehensive IANA time zone database variants (default, all, 10y).
  • TZDateTime implements the core DateTime interface for seamless drop-in usage.
Weaknesses
  • Contains breaking changes across major versions
  • Depends on platform-specific implementations that might need updates
  • Getting the current timezone of the device is platform-dependent and not a goal of the package.
  • Standalone environment initialization likely will not work in a Flutter environment.
WarningsNoneNone
sugar vs timezone: which Flutter package should you use? | pubscout