state_machine icon indicating copy to clipboard operation
state_machine copied to clipboard

Easily create a finite state machine and define legal state transitions. Listen to state entrances, departures, and transitions.

Results 10 state_machine issues
Sort by recently updated
recently updated
newest added

If you have to guard against doing illegal transitions, you'll need another finite-state machine implementation (e.g. a switch) to do this. The current FSM implementation creates the very problem FSMs...

Could you please update the package for flutter 2.0?

From https://github.com/Workiva/state_machine/issues/61#issuecomment-812258442 Since this is a fairly low-level package, it would be nice to remove any dependencies that aren't strictly necessary. Disposable is one of those, since `Machine` could provide...

## Motivation I'm listening to a state `onEnter` event to perform some database changes when a transition happens. I noticed that this event was triggered also just after the `stm.start(initialState);`...

Definition of Parallel https://www.w3.org/TR/scxml/#parallel Is there any plan to support this feature? thanks for reply.

Hi, trying to use your state package in a dart test project. Code is below, but first here is the output with added comments as to where things are not...

This PR bumps/adds workiva_analysis_options to v2. This is being done in an effort to adopt consistency in `analysis_options.yaml` files across the codebase, and ensure all developers are using the most...

It would be great if it was possible to use [xstate](https://github.com/statelyai/xstate) JSON objects.(Including [guards](https://stately.ai/docs/guards) and other features)