Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebloc

A Dart library for implementing the BLoC pattern with Cubits and Blocs.

pub.devRemove
flutter_riverpod

A reactive caching and data-binding framework for Flutter.

pub.devRemove
ScoresHealth9193 (best)
Maintenance7396 (best)
Quality100 (best)91
Popularity9798 (best)
Community100 (best)80
Compatibility100 (best)93
UsageDownloads (30 days)2.5M4.5M (best)
Likes3.2k (best)2.9k
Pub points160 / 160 (best)140 / 160
GitHub stars12k (best)7.4k
MaintenanceLatest release9.2.1, 6 months ago3.5.0, 2 weeks ago (best)
Major versions in 12 months00
Contributors100+100+
Publisherbloclibrary.devdash-overflow.net
FitPlatformsAll (pure Dart)Android, iOS, Windows, macOS, Linux
WASM-readyYesNo
KindPure DartFlutter widgets
Code generationNoNo
Direct dependencies1 (best)6
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • High testability and clear separation of concerns
  • Large community and extensive documentation
  • Supports both Bloc and Cubit for flexibility
  • Handles errors and loading states out of the box.
  • Separates logic cleanly from UI code.
  • Ensures code is testable, scalable, and reusable.
Weaknesses
  • Requires understanding of streams and reactive patterns
  • Some boilerplate for setting up Blocs/Cubits
  • Learning curve for new developers
  • Can have a steep learning curve for developers unfamiliar with provider-based patterns.
  • Requires understanding reference concepts (like Ref and ProviderScope).
WarningsNoneNone
bloc vs flutter_riverpod: which Flutter package should you use? | pubscout