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
listen

A package to notify state changes to interested listeners in pure Dart.

pub.devRemove
ScoresHealth91 (best)88
Maintenance7381 (best)
Quality100100
Popularity97 (best)84
Community100 (best)80
Compatibility100100
UsageDownloads (30 days)2.5M3M (best)
Likes3.2k (best)44
Pub points160 / 160160 / 160
GitHub stars12k (best)16
MaintenanceLatest release9.2.1, 6 months ago1.0.1, 4 months ago (best)
Major versions in 12 months00
Contributors100+100+
Publisherbloclibrary.devflutter.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies11
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • High testability and clear separation of concerns
  • Large community and extensive documentation
  • Supports both Bloc and Cubit for flexibility
  • Pure Dart support
  • Familiar API mirroring Flutter's ValueNotifier and ChangeNotifier
  • Supports merging multiple listenables
Weaknesses
  • Requires understanding of streams and reactive patterns
  • Some boilerplate for setting up Blocs/Cubits
  • Learning curve for new developers
  • Lacks advanced state management features like dependency injection or automated widget rebuilding out-of-the-box
WarningsNoneNone
bloc vs listen: which Flutter package should you use? | pubscout