Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributestream_bloc

A BLoC implementation that uses async generators to emit state streams.

pub.devRemove
yx_state

A state management library for Dart and Flutter applications.

pub.devRemove
ScoresHealth5182 (best)
Maintenance778 (best)
Quality96100 (best)
Popularity3158 (best)
Community5880 (best)
Compatibility100100
UsageDownloads (30 days)5327.6k (best)
Likes36 (best)31
Pub points150 / 160160 / 160 (best)
GitHub stars2464 (best)
MaintenanceLatest release0.6.0, a year ago1.0.2, 6 weeks ago (best)
Major versions in 12 months00
Contributors411 (best)
Publisheryakov.codesdev.go.yandex
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies21 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Supports async generators for multiple state emissions
  • Compatible with flutter_bloc widgets
  • Allows native stream transformations
  • Provides lifecycle mixin for stream communication
  • Built-in error handling and error reporting mechanisms.
  • State observers allow easy monitoring for debugging and analytics.
  • Global overrides for customizing state emission behavior.
Weaknesses
  • Older API, less documentation
  • May not support newest bloc features
  • Requires manual handling of identical states
  • Limited community and ecosystem compared to older, dominant alternatives like Bloc or Riverpod.
  • Relies on manual state class definitions and equality overrides.
WarningsNoneNone
stream_bloc vs yx_state: which Flutter package should you use? | pubscout