disposables 1.0.0 disposables: ^1.0.0 copied to clipboard
Simple library to manage objects needing to release its own resources.
We analyzed this package 22 hours ago, and awarded it 120 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
16 out of 19 API elements (84.2 %) have documentation comments.
Some symbols that are missing documentation: disposables.DisposableException
, disposables.DisposableException.message
, disposables.DisposableMixin.doDispose
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
- ✓ Web
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
INFO: Use the generic function type syntax in 'typedef's.
lib/src/disposable/_boolean_disposable.dart:4:14
╷
4 │ typedef void DisposeFunc();
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/disposable/_boolean_disposable.dart
INFO: Use the generic function type syntax in 'typedef's.
lib/src/disposable/disposable.dart:31:14
╷
31 │ typedef void DisposableBlock<D extends Disposable>(D disposable);
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/disposable/disposable.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
quiver |
^3.0.0 |
3.2.1 | 3.2.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
boolean_selector |
- | 2.1.1 | 2.1.1 |
collection |
- | 1.18.0 | 1.18.0 |
matcher |
- | 0.12.16+1 | 0.12.16+1 |
meta |
- | 1.14.0 | 1.14.0 |
path |
- | 1.9.0 | 1.9.0 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.1 | 0.7.1 |
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.3.4
.
Check the analysis log for details.