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
riverpod

A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.

pub.devRemove
ScoresHealth9199 (best)
Maintenance7396 (best)
Quality100100
Popularity9799 (best)
Community100100
Compatibility100100
UsageDownloads (30 days)2.5M4.6M (best)
Likes3.2k4k (best)
Pub points160 / 160160 / 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)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies1 (best)9
LicenseMITMIT
Setup effortLow—
JudgementStrengths
  • High testability and clear separation of concerns
  • Large community and extensive documentation
  • Supports both Bloc and Cubit for flexibility
No summary yet
Weaknesses
  • Requires understanding of streams and reactive patterns
  • Some boilerplate for setting up Blocs/Cubits
  • Learning curve for new developers
No summary yet
WarningsNoneNone
bloc vs riverpod: which Flutter package should you use? | pubscout