PackageTrack
Sign in Get early access

statemachine

A simple, yet powerful state machine framework for Dart supporting Flutter and web apps.

3.4.0 12K downloads/mo #2728 most downloaded on pub.dev renggli/dart-statemachine

What this package is like to depend on

Last release 1 years ago

15 Jun 2025

Release timing varies

gaps range from 2 months to 2.4 years

Some releases are documented

notes for 21 of 38 stable releases

Nothing withdrawn

no release was ever pulled

13 years old

39 releases · first in 2013

0 releases in the last 12 months

see the full history below

Release timeline

39 releases · Mar 2013 to Jun 2025
2014 2016 2018 2020 2022 2024 2026
Release Pre-release

Releases

latest 39
  1. 3.4.0 15 Jun 2025
    Release notes
    • Dart 3.8 requirement.
    • Bug fixes, address linter issues, and compatibility with latest dependencies.
    Open source →
  2. 3.3.1 05 Feb 2023
    Release notes

    Ready for maintenance release 3.3.1

    Open source →
  3. 3.3.0 09 Jul 2022
    Release notes
    • Dart 2.17 requirement.
    • Add the ability to abort transitions from the onBeforeTransition event.
    • Add an factory method Machine.createState for subclasses to customize.
    Open source →
  4. 3.2.0 27 Feb 2022
    Release notes
    • Dart 2.16 requirement.
    • Avoid dynamic calls across the code.
    • Improve typing of State<T> across the code-base.
    Open source →
  5. 3.1.0 03 May 2021
    Release notes
    • Add onBeforeTransition and onAfterTransition to let others observe state transitions.
    • Throw a composite TransitionError at the end of a transition where something went wrong.
    • Allow Future and Stream transitions to recreate their source on activation using a provider function.
    Open source →
  6. 3.0.0 02 May 2021
    Release notes

    Improve error reporting and testing

    Open source →
    Release notes
    • Make machines and states typed, so that a custom object can be associated and used for identification of each state.
    • To migrate existing code change the type of your state machine from Machine to Machine<String> and make sure to provide a unique name for each call to newState, newStartState, and newStopState.
    Open source →
  7. 2.0.1 20 Feb 2021
    Release notes

    Lower the SDK constraints to make it compatible with pub

    Open source →
  8. 2.0.0 18 Feb 2021
    Release notes
    • Dart 2.12 requirement and null-safety.
    Open source →
  9. 2.0.0-nullsafety 21 Nov 2020 pre-release
    Release notes

    Dart 2.12 requirement and null-safety.

    Open source →
  10. 1.6.2 18 Jul 2020

    Nothing published for this version

  11. 1.6.1 30 May 2020

    Nothing published for this version

  12. 1.6.0 10 May 2019
    Release notes
    • Dart 2.3 compatibility and requirement.
    Open source →
  13. 1.5.0 27 Feb 2019
    Release notes
    • Dart 2.2 compatibility and requirement.
    Open source →
  14. 1.4.3 15 Sep 2018

    Nothing published for this version

  15. 1.4.2 28 Jul 2018

    Nothing published for this version

  16. 1.4.1 28 Jul 2018

    Nothing published for this version

  17. 1.4.0 28 Jul 2018
    Release notes
    • Drop Dart 1.0 compatibility.
    Open source →
  18. 1.3.1 21 Jul 2018

    Nothing published for this version

  19. 1.3.0 04 Aug 2017
    Release notes
    • Reformat all code.
    • Reorganize into micro libraries.
    Open source →
  20. 1.2.3 19 Dec 2016
    Release notes
    • Replace deprecated async code.
    Open source →
  21. 1.2.2 17 Oct 2016
    Release notes
    • Fix CSS problem in example.
    Open source →
  22. 1.2.1 05 Apr 2016
    Release notes
    • Update documentation.
    Open source →
  23. 1.2.0 06 Oct 2015
    Release notes
    • Fix linter warnings.
    • Update documentation.
    • Address missing coverage.
    Open source →
  24. 1.1.1 15 May 2015
    Release notes
    • Fix a broken test.
    Open source →
  25. 1.1.0 15 May 2015
    Release notes
    • Update to use Travis.
    Open source →
  26. 1.0.6 28 Feb 2015
    Release notes
    • Support for nested machines.
    • Support for enter/exist state events.
    Open source →
  27. 1.0.5 30 Dec 2014

    Nothing published for this version

  28. 1.0.4 16 Aug 2014

    Nothing published for this version

  29. 1.0.3 16 Aug 2014
    Release notes
    • Improve test coverage.
    Open source →
  30. 1.0.2 25 May 2014

    Nothing published for this version

  31. 1.0.1 09 Feb 2014

    Nothing published for this version

  32. 1.0.0 08 Nov 2013
    Release notes
    • Initial version.
    Open source →
  33. 0.0.7 20 Jun 2013

    Nothing published for this version

  34. 0.0.6 20 May 2013

    Nothing published for this version

  35. 0.0.5 29 Apr 2013

    Nothing published for this version

  36. 0.0.4+m4 17 Apr 2013

    Nothing published for this version

  37. 0.0.3+m4 10 Apr 2013

    Nothing published for this version

  38. 0.0.2+m4 20 Mar 2013

    Nothing published for this version

  39. 0.0.1 13 Mar 2013

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive