Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeiso8601_duration

A package to parse ISO 8601 duration strings.

pub.devRemove
validators2

String validation and sanitization for Dart.

pub.devRemove
ScoresHealth5683 (best)
Maintenance4488 (best)
Quality100 (best)96
Popularity2650 (best)
Community1780 (best)
Compatibility100100
UsageDownloads (30 days)6.5k78k (best)
Likes59 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars2 (best)0
MaintenanceLatest release1.2.2, 5 months ago5.1.1, 3 weeks ago (best)
Major versions in 12 months00
Contributors39 (best)
PublisherUnverifiedonepub.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies00
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Supports both PnW and PnYnMnDTnHnMnS formats
  • Provides individual fields for all ISO duration components
  • No external dependencies, pure Dart.
  • Up-to-date regexes and edge‑case handling (e.g., email backtracking fix).
  • Supports Dart 3.x and null safety.
Weaknesses
  • Limited to ISO 8601 duration parsing and formatting
  • Limited to string validation; no UI components.
  • No built‑in error message localization.
  • Not a form builder, just helper functions.
WarningsNoneNone
iso8601_duration vs validators2: which Flutter package should you use? | pubscout