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
preact_signals

Dart port of Preact.js Signals for fine-grained reactive state management.

pub.devRemove
ScoresHealth91 (best)73
Maintenance73 (best)70
Quality100 (best)66
Popularity97 (best)59
Community100 (best)80
Compatibility100100
UsageDownloads (30 days)2.5M (best)85k
Likes3.2k (best)8
Pub points160 / 160 (best)130 / 160
GitHub stars12k (best)824
MaintenanceLatest release9.2.1, 6 months ago7.0.0, 6 months ago (best)
Major versions in 12 months0 (best)2
Contributors100+ (best)37
Publisherbloclibrary.devrodydavis.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies11
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
  • Fine-grained updates without rebuilding entire widget subtrees
  • Zero codegen required
  • Direct Dart port of a mature and proven JS signals library
Weaknesses
  • Requires understanding of streams and reactive patterns
  • Some boilerplate for setting up Blocs/Cubits
  • Learning curve for new developers
  • Relatively niche ecosystem in Flutter compared to Riverpod or Bloc
  • Not documented with explicit built-in Flutter widget binding helpers in the provided text
WarningsNoneNone
bloc vs preact_signals: which Flutter package should you use? | pubscout