A package that implements blocs as FSMs (Finite State Machines). A flexible and lightweight state graph that can help guarantee the relationship between Events and States remains declarative.
You will need to make to include this package in your pubspec.yaml file.
dependencies:
graph_bloc: ^1.0.0See the /example folder for the typical counter example.
For more information about FSMs see Wikipedia.