riverpod_machine 0.0.1-dev.5
riverpod_machine: ^0.0.1-dev.5 copied to clipboard
Finite State Machine build on top of riverpod.
We analyzed this package 5 days ago, and awarded it 40 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
15 out of 30 API elements (50.0 %) have documentation comments.
Some symbols that are missing documentation: riverpod_machine, riverpod_machine.MachineSend, riverpod_machine.MachineStart, riverpod_machine.MachineStop, riverpod_machine.StateMachineProvider.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 45 issues. Showing the first 2:
ERROR: There isn't a setter named 'state' in class 'MachineMixin'.
lib/src/state_machine_provider.dart:70:12
╷
70 │ this.state = currentStatus;
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/state_machine_provider.dart
ERROR: There isn't a setter named 'state' in class 'MachineMixin'.
lib/src/state_machine_provider.dart:118:11
╷
118 │ state = currentStatus = StateMachineStatus<State, Event>.stopped(
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/state_machine_provider.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
freezed_annotation |
^0.14.2 |
0.14.3 | 3.1.0 | |
riverpod |
^1.0.0-dev.5 |
1.0.3+1 | 3.2.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
json_annotation |
- | 4.11.0 | 4.11.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
state_notifier |
- | 0.7.2+1 | 1.0.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.14.2` on freezed_annotation does not support the stable version `0.15.0`.
Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.
The constraint `^1.0.0-dev.5` on riverpod does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions riverpod to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 30 errors:
ASSIGNMENT_TO_FINAL_NO_SETTER-lib/src/state_machine_provider.dart:70:12- There isn't a setter named 'state' in class 'MachineMixin'.ASSIGNMENT_TO_FINAL_NO_SETTER-lib/src/state_machine_provider.dart:118:11- There isn't a setter named 'state' in class 'MachineMixin'.IMPLEMENTS_NON_CLASS-lib/src/state_machine_provider/auto_dispose.dart:4:16- Classes and mixins can only implement other classes and mixins.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.10, Flutter 3.41.2, Dart 3.11.0.
Check the analysis log for details.