Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebloc_lint

Official lint rules for development when using the bloc state management library.

pub.devRemove
flutter_hooks_lint_plugin

A Dart analyzer plugin providing lint rules for flutter_hooks.

pub.devRemove
ScoresHealth85 (best)56
Maintenance89 (best)59
Quality9696
Popularity70 (best)17
Community80 (best)17
Compatibility8585
UsageDownloads (30 days)206k (best)1.4k
Likes28 (best)8
Pub points150 / 160150 / 160
GitHub stars12k (best)31
MaintenanceLatest release0.4.3, 8 weeks ago (best)0.8.0, 3 months ago
Major versions in 12 months00
Contributors100+ (best)3
Publisherbloclibrary.devUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationYesNo
Direct dependencies75 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Provides official rules directly from the creators of the bloc library.
  • Includes recommended rules sets that can be easily included in your analysis_options.yaml.
  • Catches common bugs with missing dependencies in useEffect
  • Prevents rules of hooks violations like nesting hooks in control flow
  • Configurable via analysis_options.yaml
Weaknesses
  • Strictly tied to the bloc ecosystem.
  • Limited utility outside of bloc-based architectures.
  • Requires analyzer plugin configuration in analysis_options.yaml and IDE restarts
WarningsNoneNone
bloc_lint vs flutter_hooks_lint_plugin: which Flutter package should you use? | pubscout