Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributepubspec_dependency_sorter

Sorts pubspec.yaml dependencies alphabetically

pub.devRemove
pubspec_parse

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

pub.devRemove
ScoresHealth4593 (best)
Maintenance294 (best)
Quality65100 (best)
Popularity6989 (best)
Community2380 (best)
Compatibility93100 (best)
UsageDownloads (30 days)68k17M (best)
Likes4360 (best)
Pub points115 / 160160 / 160 (best)
GitHub stars21123 (best)
MaintenanceLatest release1.0.5, 2 years ago1.7.0, 4 weeks ago (best)
Major versions in 12 months00
Contributors4100+ (best)
PublisherUnverifiedtools.dart.dev
FitPlatformsAndroid, iOS, Windows, macOS, LinuxAll (pure Dart)
WASM-readyNoYes
KindFlutter widgetsPure Dart
Code generationNoYes
Direct dependencies3 (best)5
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Simple command-line usage
  • No build_runner or code generation required
  • Works for both Flutter and pure Dart projects
  • 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
  • Does not resolve version conflicts, only sorts
  • Limited to alphabetical ordering, no custom grouping
  • No support for non-textual pubspec formats
  • 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
pubspec_dependency_sorter vs pubspec_parse: which Flutter package should you use? | pubscout