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
bloc_action_listener

Adds actions stream to Bloc and Cubit to process UI events like dialogs or snackbars.

pub.devRemove
ScoresHealth91 (best)76
Maintenance7387 (best)
Quality100100
Popularity97 (best)25
Community100 (best)63
Compatibility100100
UsageDownloads (30 days)2.5M (best)591
Likes3.2k (best)19
Pub points160 / 160160 / 160
GitHub stars12k (best)12
MaintenanceLatest release9.2.1, 6 months ago1.1.1, 4 weeks ago (best)
Major versions in 12 months00
Contributors100+ (best)5
Publisherbloclibrary.devlanars.com
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFlutter widgets
Code generationNoNo
Direct dependencies1 (best)2
LicenseMITBSD-2-CLAUSE
Setup effortLowLow
JudgementStrengths
  • High testability and clear separation of concerns
  • Large community and extensive documentation
  • Supports both Bloc and Cubit for flexibility
  • Simplifies triggering one-off UI events from business logic
  • Familiar API style matching standard flutter_bloc patterns
Weaknesses
  • Requires understanding of streams and reactive patterns
  • Some boilerplate for setting up Blocs/Cubits
  • Learning curve for new developers
  • Adds an extra layer of abstraction for side effects
  • Limited to flutter_bloc ecosystem
WarningsNoneNone
bloc vs bloc_action_listener: which Flutter package should you use? | pubscout