Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeanalysis_lints

Unified lint rules for Flutter and Dart projects

pub.devRemove
leancode_lint

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

pub.devRemove
ScoresHealth6783 (best)
Maintenance96 (best)88
Quality100 (best)85
Popularity972 (best)
Community680 (best)
Compatibility100 (best)85
UsageDownloads (30 days)64234k (best)
Likes778 (best)
Pub points160 / 160160 / 160
GitHub stars391 (best)
MaintenanceLatest release1.1.1, 9 days ago (best)28.0.0, 5 weeks ago
Major versions in 12 months0 (best)8
Contributors135 (best)
PublisherUnverifiedleancode.co
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesNo
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies2 (best)7
LicenseAPACHE-2.0APACHE-2.0
Setup effortLowLow
JudgementStrengths
  • Standardised ruleset that works for both Flutter and pure Dart
  • Easy to add via dev_dependencies and include in analysis_options
  • Updates propagate to all projects that depend on it
  • 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
  • Only provides lint rules, no runtime functionality
  • May conflict with other lints packages if both are included
  • Requires Dart SDK >=3.14.0 and Flutter >=3.50.0
  • Strict opinionated rules may require significant refactoring on existing legacy codebases.
  • Requires proper setup of analyzer plugins in analysis_options.yaml.
WarningsNoneNone
analysis_lints vs leancode_lint: which Flutter package should you use? | pubscout