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
refena_flutter

A state management and dependency injection library for Dart and Flutter.

pub.devRemove
ScoresHealth92 (best)82
Maintenance7496 (best)
Quality100100
Popularity97 (best)44
Community100 (best)64
Compatibility100100
UsageDownloads (30 days)2.5M (best)9.6k
Likes3.2k (best)5
Pub points160 / 160160 / 160
GitHub stars12k—
MaintenanceLatest release9.2.1, 6 months ago3.7.0, 3 weeks ago (best)
Major versions in 12 months00
Contributors100+—
Publisherbloclibrary.devrefena.dev
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFlutter widgets
Code generationNoNo
Direct dependencies1 (best)2
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • High testability and clear separation of concerns
  • Large community and extensive documentation
  • Supports both Bloc and Cubit for flexibility
  • Combines state management and dependency injection
  • Cross-platform support for Android, iOS, Web, Windows, macOS, and Linux
Weaknesses
  • Requires understanding of streams and reactive patterns
  • Some boilerplate for setting up Blocs/Cubits
  • Learning curve for new developers
  • Smaller ecosystem and community compared to major alternatives like Riverpod or Bloc
  • Documentation relies on external references for core changes
WarningsNoneNone
bloc vs refena_flutter: which Flutter package should you use? | pubscout