Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_lints

Provides the recommended set of Flutter lint rules for static analysis.

pub.devRemove
leancode_lint

An opinionated set of high-quality, robust, and up-to-date lint rules used at LeanCode.

pub.devRemove
ScoresHealth8383
Maintenance5688 (best)
Quality100 (best)85
Popularity97 (best)72
Community8080
Compatibility100 (best)85
UsageDownloads (30 days)12M (best)34k
Likes1.3k (best)78
Pub points160 / 160160 / 160
GitHub stars5.3k (best)91
MaintenanceLatest release6.0.0, a year ago28.0.0, 5 weeks ago (best)
Major versions in 12 months0 (best)8
Contributors100+ (best)35
Publisherflutter.devleancode.co
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies1 (best)7
LicenseBSD-3-CLAUSEAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • Easy to adopt via a single dev_dependency
  • Keeps lint rules up‑to‑date with Dart and Flutter releases
  • Well‑documented usage in README
  • Includes helpful custom lints and quick fixes for common architectural mistakes.
  • Supports custom configuration via a dedicated plugin package.
  • Actively maintained with regular updates for newer Dart and analyzer versions.
Weaknesses
  • Limited to the rules curated by the package
  • May be too strict for some legacy codebases
  • Strict opinionated rules may require significant refactoring on existing legacy codebases.
  • Requires proper setup of analyzer plugins in analysis_options.yaml.
Warnings
  • Quiet but busy
None
flutter_lints vs leancode_lint: which Flutter package should you use? | pubscout