Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeduration

Format and parse human‑readable durations in Dart

pub.devRemove
mrz_parser

Parse Machine Readable Zone (MRZ) strings from identity documents

pub.devRemove
ScoresHealth5050
Maintenance28 (best)
Quality9696
Popularity79 (best)39
Community4563 (best)
Compatibility100100
UsageDownloads (30 days)107k (best)5.1k
Likes172 (best)18
Pub points150 / 160150 / 160
GitHub stars53 (best)17
MaintenanceLatest release4.0.3, 2 years ago (best)2.0.1, 2 years ago
Major versions in 12 months00
Contributors27 (best)5
PublisherUnverifiedleushchenko.com
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
  • Pure Dart, no native dependencies
  • Supports multiple MRZ formats and long document numbers
  • Null‑safe and compatible with Dart 2 and 3
  • Provides both parse and tryParse for error handling
Weaknesses
  • No support for weeks/months in pretty output
  • Limited to Duration, not full calendar dates
  • No OCR or image capture support
  • Limited to parsing, not validation against external data
  • No UI widgets for displaying MRZ
WarningsNoneNone
duration vs mrz_parser: which Flutter package should you use? | pubscout