hierarchical_state_machine 2.2.0 copy "hierarchical_state_machine: ^2.2.0" to clipboard
hierarchical_state_machine: ^2.2.0 copied to clipboard

A performant state machine framework inspired by UML. Hierarchical parent/child states enable shared event handling for cleaner, more efficient logic.

Hierarchial State Machine #

2.2.0 #

  • serialization and deserialization of machines
  • internal: moved event numbering to each machine instance.

2.1.1 #

  • pub.dev points are annoying

2.1.0 #

  • Optional library to produce plantuml diagrams.
  • .to() constructor for all transition blueprints.
  • All dynamic -> Object? (should be non-breaking)
  • StateType for runtime identification.
  • Documentation updates.

2.0.0 #

2.0.0: PSSM Update

  • Event Deferrals
  • Fork, Choice, Terminate, and Final Psuedo states
  • Deep and Shallow history
  • Blueprints for cleaner composition
  • Validation before starting an invalid machine
  • Performance boost by precalculating all LCAs, state chains, and more.

1.0.0 #

Increased version number to 1.0 as the package is fairly stable.

0.0.2 #

  • Update deps for dart 3.0

0.0.1 #

  • Early release publishing
13
likes
160
points
1.16k
downloads

Publisher

verified publishermcdole.org

Weekly Downloads

A performant state machine framework inspired by UML. Hierarchical parent/child states enable shared event handling for cleaner, more efficient logic.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

convert, crypto, meta

More

Packages that depend on hierarchical_state_machine