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
riverpod_lint

Riverpod_lint is a static analysis plugin that flags common Riverpod mistakes and offers quick refactorings.

pub.devRemove
ScoresHealth85 (best)80
Maintenance8993 (best)
Quality96 (best)72
Popularity7089 (best)
Community80 (best)45
Compatibility8585
UsageDownloads (30 days)206k586k (best)
Likes28331 (best)
Pub points150 / 160 (best)130 / 160
GitHub stars12k (best)7.4k
MaintenanceLatest release0.4.3, 8 weeks ago3.2.0, 2 weeks ago (best)
Major versions in 12 months00
Contributors100+100+
Publisherbloclibrary.devUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationYesNo
Direct dependencies7 (best)10
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.
  • Zero runtime cost, integrates with dart analyze
  • Provides quick fixes and refactorings
  • Keeps codebase consistent with Riverpod best practices
Weaknesses
  • Strictly tied to the bloc ecosystem.
  • Limited utility outside of bloc-based architectures.
  • Only works with Riverpod, not other state managers
  • Requires Dart 3.13 due to analysis_server_plugin dependency
WarningsNoneNone
bloc_lint vs riverpod_lint: which Flutter package should you use? | pubscout