Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributehierarchical_state_machine

Performant hierarchical state machine framework inspired by UML.

pub.devRemove
refena_flutter

A state management and dependency injection library for Dart and Flutter.

pub.devRemove
ScoresHealth6282 (best)
Maintenance4695 (best)
Quality97100 (best)
Popularity3644 (best)
Community4664 (best)
Compatibility100100
UsageDownloads (30 days)1.3k9.6k (best)
Likes21 (best)5
Pub points160 / 160160 / 160
GitHub stars6—
MaintenanceLatest release2.4.0, 5 months ago3.7.0, 4 weeks ago (best)
Major versions in 12 months10 (best)
Contributors2—
Publishermcdole.orgrefena.dev
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFlutter widgets
Code generationNoNo
Direct dependencies32 (best)
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Prevents state explosion with hierarchical parent/child states
  • Immutable blueprints validated during compilation
  • Supports orthogonal regions, history semantics, and serialization
  • Combines state management and dependency injection
  • Cross-platform support for Android, iOS, Web, Windows, macOS, and Linux
Weaknesses
  • Steeper learning curve compared to standard state management packages
  • Requires careful definition of states, events, and transitions
  • Smaller ecosystem and community compared to major alternatives like Riverpod or Bloc
  • Documentation relies on external references for core changes
WarningsNoneNone
hierarchical_state_machine vs refena_flutter: which Flutter package should you use? | pubscout