Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeside_effect_cubit

Adds a separate stream for one-time events in Bloc/Cubit

pub.devRemove
yx_state

A state management library for Dart and Flutter applications.

pub.devRemove
ScoresHealth5182 (best)
Maintenance1778 (best)
Quality97100 (best)
Popularity2858 (best)
Community4180 (best)
Compatibility100100
UsageDownloads (30 days)2.7k7.6k (best)
Likes431 (best)
Pub points160 / 160160 / 160
GitHub stars264 (best)
MaintenanceLatest release2.0.0, 11 months ago1.0.2, 6 weeks ago (best)
Major versions in 12 months10 (best)
Contributors111 (best)
Publishersontieu.devdev.go.yandex
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies21 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • decouples side effects from state
  • prevents re-triggering on rebuilds
  • easy to test with side_effect_cubit_test
  • 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
  • adds extra mixin or base class boilerplate
  • requires listening widgets
  • Limited community and ecosystem compared to older, dominant alternatives like Bloc or Riverpod.
  • Relies on manual state class definitions and equality overrides.
WarningsNoneNone
side_effect_cubit vs yx_state: which Flutter package should you use? | pubscout