hierarchical_state_machine 1.0.0 copy "hierarchical_state_machine: ^1.0.0" to clipboard
hierarchical_state_machine: ^1.0.0 copied to clipboard

A framework for building state machines similar to UML state charts. States are organized in parent/child relationships, allowing common event handling to be performed by more generic, containing states.

6
likes
120/ 140
pub points
40%
popularity

We analyzed this package 3 days ago, and awarded it 120 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

35 out of 50 API elements (70.0 %) have documentation comments.

Some symbols that are missing documentation: hierarchical_state_machine.ActionFunction, hierarchical_state_machine.EventHandler.isInternal, hierarchical_state_machine.EventHandler.isLocalTransition, hierarchical_state_machine.EventHandler.target, hierarchical_state_machine.GuardFunction.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
OK
Pass static analysis
50 / 50trigger folding of the section

50/50 points: code has no errors, warnings, lints, or formatting issues

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
logging ^1.2.0 1.2.0 1.2.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.4.0.

Check the analysis log for details.

6
likes
120
pub points
40%
popularity

Publisher

verified publishermcdole.org

A framework for building state machines similar to UML state charts. States are organized in parent/child relationships, allowing common event handling to be performed by more generic, containing states.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

logging

More

Packages that depend on hierarchical_state_machine