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
generic_bloc_provider

A generic InheritedWidget-based provider for BLoC state management in Flutter.

pub.devRemove
ScoresHealth86 (best)46
Maintenance55 (best)0
Quality100100
Popularity97 (best)23
Community100 (best)41
Compatibility100100
UsageDownloads (30 days)2.4M (best)448
Likes8.1k (best)22
Pub points160 / 160160 / 160
GitHub stars12k (best)27
MaintenanceLatest release9.1.1, 2 years ago (best)2.1.1, 5 years ago
Major versions in 12 months00
Contributors100+ (best)1
Publisherbloclibrary.devrobertohuertas.com
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies20 (best)
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
  • Simple API with minimal boilerplate
  • Automatic lifecycle management with BLoC disposal
  • Supports custom updateShouldNotify overrides
Weaknesses
  • Can introduce significant boilerplate for simple states
  • Steeper learning curve for developers new to the BLoC pattern
  • Relies on a custom abstract Bloc class rather than official state management packages
  • Very basic feature set compared to modern alternatives
Warnings
  • Quiet but busy
None
flutter_bloc vs generic_bloc_provider: which Flutter package should you use? | pubscout