Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributesaga_state_machine

A MassTransit-style state machine framework for Dart with a fluent builder API.

pub.devRemove
yx_state

A state management library for Dart and Flutter applications.

pub.devRemove
ScoresHealth5182 (best)
Maintenance2678 (best)
Quality100100
Popularity2758 (best)
Community1780 (best)
Compatibility100100
UsageDownloads (30 days)2.1k7.6k (best)
Likes531 (best)
Pub points160 / 160160 / 160
GitHub stars364 (best)
MaintenanceLatest release1.1.2, 8 months ago1.0.2, 6 weeks ago (best)
Major versions in 12 months00
Contributors311 (best)
PublisherUnverifieddev.go.yandex
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies11
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Declarative and fluent builder API for defining state machines.
  • Built-in support for event correlation, timeouts, and state compensation.
  • Pluggable storage repository interface for custom persistence.
  • 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
  • Default repository is in-memory only; custom persistence requires manual implementation.
  • Niche state machine architectural pattern which may be overkill for simple apps.
  • Limited community and ecosystem compared to older, dominant alternatives like Bloc or Riverpod.
  • Relies on manual state class definitions and equality overrides.
WarningsNoneNone
saga_state_machine vs yx_state: which Flutter package should you use? | pubscout