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
import_lint

Defines rules to restrict imports and perform static analysis in Dart code.

pub.devRemove
ScoresHealth83 (best)58
Maintenance56 (best)31
Quality100 (best)93
Popularity97 (best)52
Community80 (best)46
Compatibility100 (best)85
UsageDownloads (30 days)12M (best)9.8k
Likes1.3k (best)28
Pub points160 / 160 (best)150 / 160
GitHub stars5.3k (best)33
MaintenanceLatest release6.0.0, a year ago2.0.0, 7 months ago (best)
Major versions in 12 months0 (best)1
Contributors100+ (best)2
Publisherflutter.devkawa.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies1 (best)8
LicenseBSD-3-CLAUSEMIT
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
  • Integrates directly into the IDE via analysis server plugins.
  • Provides both CLI support and IDE lint warnings.
  • Customizable glob patterns for targets, sources, and exceptions.
Weaknesses
  • Limited to the rules curated by the package
  • May be too strict for some legacy codebases
  • Requires manual restart of the Dart Analysis Server after updating configuration plugins.
  • Strict Dart SDK version requirement (>=3.10.0 <4.0.0).
Warnings
  • Quiet but busy
None
flutter_lints vs import_lint: which Flutter package should you use? | pubscout