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 in the last hour, and awarded it 110 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 60 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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
330 out of 335 API elements (98.5 %) 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.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
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
INFO: 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
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
^2.3.0 |
2.6.0 | 2.6.0 |
meta |
^1.7.0 |
1.16.0 | 1.16.0 |
path_parsing |
^1.0.1 |
1.1.0 | 1.1.0 |
pool |
^1.5.0 |
1.5.1 | 1.5.1 |
vector_graphics_codec |
0.0.5 |
0.0.5 | 1.1.12 |
xml |
^6.0.1 |
6.5.0 | 6.5.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
collection |
- | 1.19.1 | 1.19.1 |
path |
- | 1.9.1 | 1.9.1 |
petitparser |
- | 6.0.2 | 6.0.2 |
stack_trace |
- | 1.12.0 | 1.12.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
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.15
, Dart 3.5.4
.
Check the analysis log for details.