Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedart_pdf_reader

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

pub.devRemove
pubspec_parse

Parse pubspec.yaml files with a type‑safe API and detailed error reporting.

pub.devRemove
ScoresHealth6293 (best)
Maintenance2594 (best)
Quality100100
Popularity5689 (best)
Community5880 (best)
Compatibility100100
UsageDownloads (30 days)18k17M (best)
Likes3160 (best)
Pub points160 / 160160 / 160
GitHub stars27123 (best)
MaintenanceLatest release2.2.0, 9 months ago1.7.0, 4 weeks ago (best)
Major versions in 12 months00
Contributors4100+ (best)
Publisherchimerapps.comtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoYes
Direct dependencies4 (best)5
LicenseAPACHE-2.0BSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • 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.
  • Typed API for all pubspec fields
  • Rich, precise error messages via checked_yaml
  • Supports latest Dart pubspec features (git tag_pattern, falseSecrets, hooks, platforms)
  • Lenient mode to ignore unknown keys
Weaknesses
  • 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.
  • Specialized to pubspec files only, not a general YAML library
  • No code‑generation support
  • Adds another dependency if you already use a generic YAML parser
WarningsNoneNone
dart_pdf_reader vs pubspec_parse: which Flutter package should you use? | pubscout