Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributealfreed

Splits business logic from views and manages page/animation state in Flutter.

pub.devRemove
bloc

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

pub.devRemove
ScoresHealth4691 (best)
Maintenance073 (best)
Quality100100
Popularity1297 (best)
Community58100 (best)
Compatibility100100
UsageDownloads (30 days)2742.5M (best)
Likes123.2k (best)
Pub points160 / 160160 / 160
GitHub stars512k (best)
MaintenanceLatest release0.4.1, 4 years ago9.2.1, 6 months ago (best)
Major versions in 12 months00
Contributors4100+ (best)
Publisherapparence.iobloclibrary.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies0 (best)1
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Clean separation of business logic via presenters and view interfaces.
  • Built-in handling of animation controllers and multi-animations.
  • Responsive device sizing context based on standard breakpoint ranges.
  • High testability and clear separation of concerns
  • Large community and extensive documentation
  • Supports both Bloc and Cubit for flexibility
Weaknesses
  • Requires adopting a specific architectural pattern and class structure.
  • Not a reactive state management library on its own.
  • Requires understanding of streams and reactive patterns
  • Some boilerplate for setting up Blocs/Cubits
  • Learning curve for new developers
WarningsNoneNone
alfreed vs bloc: which Flutter package should you use? | pubscout