fsm2 0.8.0 fsm2: ^0.8.0 copied to clipboard
FMS2 provides an implementation of the core design aspects of the UML state diagrams. FMS2 is derived from the FSM library which in turn was inspired by [Tinder StateMachine library](https://github.co [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add fsm2
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
fsm2: ^0.8.0
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:fsm2/fsm2.dart';