r_dart_library 0.4.1
r_dart_library: ^0.4.1 copied to clipboard
A core library of R.dart
We analyzed this package 2 days ago, and awarded it 60 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
3 out of 9 API elements (33.3 %) have documentation comments.
Some symbols that are missing documentation: r_dart_library.AssetSvg
, r_dart_library.AssetSvg.AssetSvg.new
, r_dart_library.AssetSvg.asset
, r_dart_library.AssetSvg.height
, r_dart_library.AssetSvg.load
.
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/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
ERROR: The method 'hashValues' isn't defined for the type 'AssetSvg'.
lib/asset_svg.dart:68:23
╷
68 │ int get hashCode => hashValues(asset.hashCode, width, height, 1.0);
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/asset_svg.dart
WARNING: The method doesn't override an inherited method.
lib/asset_svg.dart:31:24
╷
31 │ ImageStreamCompleter load(AssetSvg key, nil) {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/asset_svg.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
flutter_svg |
^1.0.0 |
1.1.6 | 2.2.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path_drawing |
- | 1.0.1 | 1.0.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 6.1.0 | 7.0.0 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
xml |
- | 6.5.0 | 6.6.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.0.0` on flutter_svg does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_svg
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 1 error:
UNDEFINED_METHOD
-lib/asset_svg.dart:68:23
- The method 'hashValues' isn't defined for the type 'AssetSvg'.
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.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.