statefulemitter 1.0.1
statefulemitter: ^1.0.1 copied to clipboard
Extended EventEmitter that fires "statechange" event when state member is changed. Child classes that inherit from EventEmitter can use the standard event emit, subscribe, unsubscribe, etc., methods o [...]
We analyzed this package 2 days ago, and awarded it 70 pub points (of a possible 160):
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.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/ModusLabsOrg/RoboDomo-mono was unreachable. Make sure that the website is reachable via HEAD requests.
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
9 out of 15 API elements (60.0 %) have documentation comments.
Some symbols that are missing documentation: StatefulEmitter, StatefulEmitter.StatefulEmitter, StatefulEmitter.StatefulEmitter.StatefulEmitter.new, StatefulEmitter.StatefulEmitter.setState, StatefulEmitter.StatefulEmitter.state.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/50 points: code has no errors, warnings, lints, or formatting issues
ERROR: A value of type 'Map
lib/statefulemitter.dart:35:14
╷
35 │ _state = newState;
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/statefulemitter.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
debug |
^1.0.0 |
1.0.0 | 1.0.0 | |
eventify |
^1.0.0 |
1.0.1 | 1.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
dart_console |
- | 1.2.0 | 4.1.2 | |
env_get |
- | 1.0.0 | 1.0.0 | |
ffi |
- | 2.1.5 | 2.1.5 | |
intl |
- | 0.18.1 | 0.20.2 | |
meta |
- | 1.18.0 | 1.18.0 | |
path |
- | 1.9.1 | 1.9.1 | |
win32 |
- | 5.15.0 | 5.15.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
INVALID_ASSIGNMENT-lib/statefulemitter.dart:35:14- A value of type 'Map<dynamic, dynamic>' can't be assigned to a variable of type 'Map<String, dynamic>'.
Run dart pub downgrade and then dart 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.8, Dart 3.10.7.
Check the analysis log for details.