Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeconfig

Typed CLI argument and config file parser with env support

pub.devRemove
dart_pdf_reader

Pure‑dart PDF parser that reads PDF structures from a byte stream.

pub.devRemove
ScoresHealth83 (best)63
Maintenance93 (best)25
Quality100100
Popularity5357 (best)
Community80 (best)58
Compatibility85100 (best)
UsageDownloads (30 days)204k (best)18k
Likes831 (best)
Pub points160 / 160160 / 160
GitHub stars1327 (best)
MaintenanceLatest release0.10.0, 6 days ago (best)2.2.0, 9 months ago
Major versions in 12 months00
Contributors9 (best)4
Publisherserverpod.devchimerapps.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies74 (best)
LicenseBSD-3-CLAUSEAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • Typed option definitions with automatic parsing and constraints
  • Support for environment variables and YAML/JSON config files
  • Collects all validation errors upfront for better UX
  • Drop‑in replacement for ArgParser with minimal code changes
  • Pure Dart, no native dependencies; works on web, mobile, desktop.
  • Supports badly formatted PDFs and compressed cross‑reference tables.
  • Provides a clear API for accessing catalog, pages, outlines, and page objects.
  • Good test coverage and CI integration.
Weaknesses
  • Requires Dart SDK 3.9+ (breaking change in 0.10.0)
  • addCommand() not supported, needs BetterCommandRunner from cli_tools
  • No code generation support
  • No rendering or UI support; only parsing.
  • Limited to reading; no editing or annotation features.
  • Performance may be slower for very large PDFs compared to native libraries.
  • Requires manual handling of file streams on each platform.
WarningsNoneNone
config vs dart_pdf_reader: which Flutter package should you use? | pubscout