Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeduration

Format and parse human‑readable durations in Dart

pub.devRemove
moment_dart

Multi-purpose immutable DateTime subclass supporting multiple localizations and duration formatting.

pub.devRemove
ScoresHealth5085 (best)
Maintenance2100 (best)
Quality9697 (best)
Popularity79 (best)57
Community4563 (best)
Compatibility100100
UsageDownloads (30 days)108k (best)7.5k
Likes172 (best)86
Pub points150 / 160160 / 160 (best)
GitHub stars53 (best)21
MaintenanceLatest release4.0.3, 2 years ago6.0.0, yesterday (best)
Major versions in 12 months0 (best)1
Contributors27 (best)5
PublisherUnverifieddev.gege.mn
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Rich locale support
  • Customizable formatting (abbreviated, spacer, delimiter)
  • Handles negative durations
  • No external dependencies
  • Rich set of formatting, calendar, and duration methods.
  • Supports multiple localizations out of the box.
  • Immutable design prevents accidental state mutation.
Weaknesses
  • No support for weeks/months in pretty output
  • Limited to Duration, not full calendar dates
  • Adds an external dependency and API surface for functionality partially covered by Dart core.
WarningsNoneNone
duration vs moment_dart: which Flutter package should you use? | pubscout