Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_bloc

Flutter widgets to easily integrate blocs and cubits for state management.

pub.devRemove
flutter_bloc_pattern

Provides BLoCs to descendant widgets with internal disposal and RxDart stream builders.

pub.devRemove
ScoresHealth86 (best)50
Maintenance55 (best)48
Quality100100
Popularity97 (best)33
Community100 (best)17
Compatibility100100
UsageDownloads (30 days)2.4M (best)4.6k
Likes8.1k (best)4
Pub points160 / 160160 / 160
GitHub stars12k (best)10
MaintenanceLatest release9.1.1, 2 years ago (best)3.0.0, 2 years ago
Major versions in 12 months00
Contributors100+ (best)3
Publisherbloclibrary.devUnverified
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies22
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Tight integration with the bloc state management library
  • Built-in dependency injection via BlocProvider
  • Reduces boilerplate compared to using raw StreamBuilders
  • O(1) BLoC lookup via context extension or BlocProvider
  • Automatic disposal of BLoCs
  • Built-in RxStreamBuilder support for handling streams and value streams
Weaknesses
  • Can introduce significant boilerplate for simple states
  • Steeper learning curve for developers new to the BLoC pattern
  • Tied specifically to RxDart-based BLoC patterns rather than the official bloc library
  • Limited ecosystem compared to official bloc or riverpod
Warnings
  • Quiet but busy
None
flutter_bloc vs flutter_bloc_pattern: which Flutter package should you use? | pubscout