tree_state_machine 3.0.0-dev.1 copy "tree_state_machine: ^3.0.0-dev.1" to clipboard
tree_state_machine: ^3.0.0-dev.1 copied to clipboard

Define and run hierarchical state machines in Dart and Flutter.

3.0.0-dev.1 #

  • Upgrade to Dart3 SDK
  • Add DataStateKey to emphasize association between a data state and its state data type
  • Add TreeStateMachine.startWith to enable starting a state machine with specific initual values for data states.

2.4.0 #

  • Fix issue with MessageHandlerWhenBuilder not evaluating multiple conditions correctly.
  • Fix issue with MessageHandlerBuilder.action not evaluating actionResult parameter correctly.

2.3.0 #

  • Rename NestedMachineData.nestedState -> NestedMachineData.nestedCurrentState.
  • Add label property to TreeStateMachine and TreeStateBuilder for debugging purposes.
  • Improve messages when an error occurs entering a channel.

2.2.1 #

  • Add action parameter to enterChannel builder method.

2.2.0 #

  • Add support for rethrowing exceptions with PostMessageErrorPolicy.
  • Fix bug where data streams for void data states might not be completed when state exits.
  • Add StreamCombineLatest.

2.1.1 #

  • Add const Channel constructor.
  • Add rootKey prop to StateTreeBuilder
  • Add handling of void state data.
  • Additional API documentation.

2.0.1 #

  • Adjustments and internal simplifications of tree_builders library.
  • Add support for final data states.
  • Add nested state machines.
  • Adjust logging so that log messages can be named to reflect the state machine that emits them.

1.0.3 #

  • Package updates to improve pub.flutter-io.cn score.
  • Add logging when timers are canceled.

1.0.2 #

  • Add more tests and documentation.
  • Adjust signature of schedule methods to emphasize that the message function is called each time timer elapses.

1.0.1 #

  • Initial version.
4
likes
0
points
132
downloads

Publisher

unverified uploader

Weekly Downloads

Define and run hierarchical state machines in Dart and Flutter.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

async, collection, logging

More

Packages that depend on tree_state_machine