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
nucleus

An atomic dependency and state management toolkit for Dart and Flutter.

pub.devRemove
ScoresHealth91 (best)48
Maintenance73 (best)2
Quality100100
Popularity97 (best)32
Community100 (best)41
Compatibility100100
UsageDownloads (30 days)2.5M (best)1.4k
Likes3.2k (best)15
Pub points160 / 160160 / 160
GitHub stars12k (best)25
MaintenanceLatest release9.2.1, 6 months ago (best)0.4.1, 2 years ago
Major versions in 12 months00
Contributors100+ (best)1
Publisherbloclibrary.devtimsmart.co
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
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
  • Simple and composable API design
  • Built-in support for future, stream, and persisted storage atoms
  • Automatic disposal and lazy loading of atoms
Weaknesses
  • Requires understanding of streams and reactive patterns
  • Some boilerplate for setting up Blocs/Cubits
  • Learning curve for new developers
  • Smaller community and ecosystem compared to Riverpod or Bloc
  • Less documentation for advanced use cases like writableAtom
WarningsNoneNone
bloc vs nucleus: which Flutter package should you use? | pubscout