Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributefreezed_lint

Linter plugin that enforces correct usage of freezed classes.

pub.devRemove
lint_staged

Run linters and custom commands on git staged files for Flutter and Dart projects

pub.devRemove
ScoresHealth71 (best)44
Maintenance89 (best)5
Quality9696
Popularity2842 (best)
Community45 (best)17
Compatibility8585
UsageDownloads (30 days)5.6k16k (best)
Likes89 (best)
Pub points150 / 160150 / 160
GitHub stars2.2k (best)8
MaintenanceLatest release0.1.0, 5 weeks ago (best)0.5.1, 3 years ago
Major versions in 12 months00
Contributors100+ (best)3
PublisherUnverifiedUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies3 (best)7
LicenseMITAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • No build_runner or code generation needed
  • Quick‑fixes produce valid code
  • Works out of the box with Dart 3.10+
  • Speeds up linting by only checking files that are about to be committed
  • Supports custom glob pattern matching for file filtering
  • Provides built-in backup stashing and error recovery
Weaknesses
  • Requires Dart 3.10 or later
  • Only applies to freezed classes
  • No support for other code‑gen libraries
  • Requires manual configuration of git hooks (such as using Husky)
  • Behavior depends on external git commands and local executable environments
WarningsNoneNone
freezed_lint vs lint_staged: which Flutter package should you use? | pubscout