Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebloc_test

A testing library that makes it easy to test blocs and cubits.

pub.devRemove
riverpod_lint

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

pub.devRemove
ScoresHealth82 (best)80
Maintenance5393 (best)
Quality100 (best)72
Popularity93 (best)89
Community80 (best)45
Compatibility100 (best)85
UsageDownloads (30 days)1.6M (best)586k
Likes669 (best)331
Pub points160 / 160 (best)130 / 160
GitHub stars12k (best)7.4k
MaintenanceLatest release10.0.0, 2 years ago3.2.0, 2 weeks ago (best)
Major versions in 12 months00
Contributors100+100+
Publisherbloclibrary.devUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies5 (best)10
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Simplifies asynchronous bloc testing with clear syntax
  • Provides built-in support for seeding states, skipping events, and waiting on async operations
  • Integrates seamlessly with package:test and mocktail
  • 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
  • Only works with Riverpod, not other state managers
  • Requires Dart 3.13 due to analysis_server_plugin dependency
Warnings
  • Quiet but busy
None
bloc_test vs riverpod_lint: which Flutter package should you use? | pubscout