states 1.0.0
states: ^1.0.0 copied to clipboard

States is Finite State Machine for Dart. You can define states of your application and reaction on transition between states

1
likes
100 / 110
pub points
25 %
popularity

We analyzed this package on Apr 13, 2021, and awarded it 100 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/README.md

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

  • 20 out of 58 API elements (34.5 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

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

Found 10 issues. Showing the first 2:

INFO: Use isNotEmpty instead of length

lib/src/main.dart:19:22

   ╷
19 │   bool get locked => _lockKey.length > 0;
   │                      ^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/main.dart

INFO: Don't explicitly initialize variables to null.

lib/src/main.dart:29:11

   ╷
29 │   States({this.id = null}) {
   │           ^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/main.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
meta^1.2.21.3.01.3.0

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

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

Analysed with Pana 0.15.4, Dart 2.12.2.

1
likes
100
pub points
25%
popularity

States is Finite State Machine for Dart. You can define states of your application and reaction on transition between states

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

vladimir.cores@gmail.com

License

LICENSE

Dependencies

meta

More

Packages that depend on states