vector_graphics_compiler 0.0.5
vector_graphics_compiler: ^0.0.5 copied to clipboard
A compiler for `package:vector_graphics`.
We analyzed this package 20 hours ago, and awarded it 105 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
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.5").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
330 out of 336 API elements (98.2 %) have documentation comments.
Some symbols that are missing documentation: vector_graphics_compiler
, vector_graphics_compiler.PathBuilder.close
, vector_graphics_compiler.PathBuilder.cubicTo
, vector_graphics_compiler.PathBuilder.lineTo
, vector_graphics_compiler.PathBuilder.moveTo
.
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
Package not compatible with runtime wasm
Because:
package:vector_graphics_compiler/vector_graphics_compiler.dart
that imports:package:vector_graphics_compiler/src/_initialize_path_ops_io.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
WARNING: Unnecessary cast.
lib/src/debug_format.dart:22:10
╷
22 │ return utf8.encode(listener.buffer.toString()) as Uint8List;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/debug_format.dart
WARNING: The parameter type of '==' operators should be non-nullable.
lib/src/svg/theme.dart:36:17
╷
36 │ bool operator ==(dynamic other) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/svg/theme.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
^2.3.0 |
2.7.0 | 2.7.0 | |
meta |
^1.7.0 |
1.17.0 | 1.17.0 | |
path_parsing |
^1.0.1 |
1.1.0 | 1.1.0 | |
pool |
^1.5.0 |
1.5.2 | 1.5.2 | |
vector_graphics_codec |
0.0.5 |
0.0.5 | 1.1.13 | |
xml |
^6.0.1 |
6.6.1 | 6.6.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
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.0.5` on vector_graphics_codec does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions vector_graphics_codec
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.23
, Dart 3.9.3
.
Check the analysis log for details.