Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeasp

Atomic state management solution for Flutter apps.

pub.devRemove
bloc

A Dart library for implementing the BLoC pattern with Cubits and Blocs.

pub.devRemove
ScoresHealth5092 (best)
Maintenance874 (best)
Quality81100 (best)
Popularity6197 (best)
Community58100 (best)
Compatibility100100
UsageDownloads (30 days)3k2.5M (best)
Likes953.2k (best)
Pub points150 / 160160 / 160 (best)
GitHub stars4912k (best)
MaintenanceLatest release2.0.3, 2 years ago9.2.1, 6 months ago (best)
Major versions in 12 months00
Contributors4100+ (best)
Publisherflutterando.com.brbloclibrary.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies11
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Simplified and predictable state management API
  • Detailed observability on state changes and triggering actions
  • Functional approach with lowercase atom creation
  • High testability and clear separation of concerns
  • Large community and extensive documentation
  • Supports both Bloc and Cubit for flexibility
Weaknesses
  • Removed built-in reactive collections (RxList, RxSet, RxMap) in v2
  • Breaking changes between v1 and v2 require migration effort
  • Requires understanding of streams and reactive patterns
  • Some boilerplate for setting up Blocs/Cubits
  • Learning curve for new developers
WarningsNoneNone
asp vs bloc: which Flutter package should you use? | pubscout