tree_state_machine (pub): Define and run hierarchical state machines in Dart and Flutter.
Keywords: dart|state-machine