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_provider

Provides BLoC to descendant widgets with O(1) access and automatic disposal.

pub.devRemove
ScoresHealth91 (best)83
Maintenance7395 (best)
Quality100100
Popularity97 (best)54
Community100 (best)58
Compatibility100100
UsageDownloads (30 days)2.5M (best)5.2k
Likes3.2k (best)25
Pub points160 / 160160 / 160
GitHub stars12k (best)116
MaintenanceLatest release9.2.1, 6 months ago1.1.0, 9 days ago (best)
Major versions in 12 months00
Contributors100+ (best)4
Publisherbloclibrary.devmono0926.com
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFlutter widgets
Code generationNoNo
Direct dependencies10 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • High testability and clear separation of concerns
  • Large community and extensive documentation
  • Supports both Bloc and Cubit for flexibility
  • O(1) access to the BLoC
  • Automatic disposal of the BLoC
  • Very small and simple API
Weaknesses
  • Requires understanding of streams and reactive patterns
  • Some boilerplate for setting up Blocs/Cubits
  • Learning curve for new developers
  • Minimally maintained and may lack future updates
  • Limited feature set compared to newer providers
  • No built‑in support for code‑gen or advanced scoping
WarningsNoneNone
bloc vs bloc_provider: which Flutter package should you use? | pubscout