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
leancode_cubit_utils

Cubits and widgets to eliminate boilerplate for single requests and paginated pages.

pub.devRemove
ScoresHealth91 (best)61
Maintenance73 (best)27
Quality100 (best)91
Popularity97 (best)40
Community100 (best)80
Compatibility100100
UsageDownloads (30 days)2.5M (best)3.8k
Likes3.2k (best)13
Pub points160 / 160 (best)140 / 160
GitHub stars12k (best)8
MaintenanceLatest release9.2.1, 6 months ago (best)0.5.0, 10 months ago
Major versions in 12 months00
Contributors100+ (best)12
Publisherbloclibrary.devleancode.co
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFlutter widgets
Code generationNoNo
Direct dependencies1 (best)6
LicenseMITAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • High testability and clear separation of concerns
  • Large community and extensive documentation
  • Supports both Bloc and Cubit for flexibility
  • Reduces boilerplate for standard request-response and pagination flows.
  • Built-in request deduplication, caching, and refresh support.
  • Global configuration provider for default loaders, error widgets, and request modes.
Weaknesses
  • Requires understanding of streams and reactive patterns
  • Some boilerplate for setting up Blocs/Cubits
  • Learning curve for new developers
  • Tied strictly to the bloc/cubit state management pattern.
  • Requires writing custom subclasses and mappers for each request type.
WarningsNoneNone
bloc vs leancode_cubit_utils: which Flutter package should you use? | pubscout