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
redux_thunk

A Redux middleware that allows dispatching async functions as actions.

pub.devRemove
ScoresHealth91 (best)50
Maintenance73 (best)0
Quality100 (best)96
Popularity97 (best)75
Community100 (best)23
Compatibility100100
UsageDownloads (30 days)2.5M (best)16k
Likes3.2k (best)66
Pub points160 / 160 (best)150 / 160
GitHub stars12k (best)89
MaintenanceLatest release9.2.1, 6 months ago (best)0.4.0, 6 years ago
Major versions in 12 months00
Contributors100+ (best)4
Publisherbloclibrary.devUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies11
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • High testability and clear separation of concerns
  • Large community and extensive documentation
  • Supports both Bloc and Cubit for flexibility
  • Enables asynchronous work in Redux architectures.
  • Simple API with a single thunkMiddleware.
Weaknesses
  • Requires understanding of streams and reactive patterns
  • Some boilerplate for setting up Blocs/Cubits
  • Learning curve for new developers
  • Limited to Redux.dart ecosystem.
  • No advanced side-effect handling features beyond basic functions.
WarningsNoneNone
bloc vs redux_thunk: which Flutter package should you use? | pubscout