jxlstatemachine 0.1.2
jxlstatemachine: ^0.1.2 copied to clipboard
A hierarchical finite state machine with support parent child relationships and transition enforcement. Based on Cássio Souza's ActionScript 3 one https://github.com/cassiozen/AS3-State-Machine which [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add jxlstatemachine
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
jxlstatemachine: ^0.1.2
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:jxlstatemachine/jxlstatemachine.dart';