Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedate_time_format

Format Dart DateTime objects using standard date/time notations or relative time offsets.

pub.devRemove
sugar

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

pub.devRemove
ScoresHealth5068 (best)
Maintenance050 (best)
Quality8196 (best)
Popularity72 (best)49
Community4158 (best)
Compatibility100100
UsageDownloads (30 days)42k46k (best)
Likes118 (best)11
Pub points150 / 160150 / 160
GitHub stars1433 (best)
MaintenanceLatest release2.0.1, 6 years ago4.0.0, 2 years ago (best)
Major versions in 12 months00
Contributors14 (best)
Publisherjamesalex.devduobase.io
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFFI (native library)
Code generationNoNo
Direct dependencies0 (best)3
LicenseBSD-2-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Provides both utility classes and extension methods on DateTime
  • Rich set of formatting constants including American and European formats
  • Highly customizable relative time formatting with precision, rounding, and abbreviations
  • Synchronous platform timezone detection with TZDB identifiers
  • Low initialization cost and memory footprint through lazy loading
  • Comprehensive date-time, range, and interval types
Weaknesses
  • Limited localization documentation for languages outside English relative formats
  • No built-in date parsing mentioned, focuses purely on formatting
  • Contains breaking changes across major versions
  • Depends on platform-specific implementations that might need updates
WarningsNoneNone
date_time_format vs sugar: which Flutter package should you use? | pubscout