svgx 0.1.0
svgx: ^0.1.0 copied to clipboard
High-performance static & animated SVG rendering for Flutter. Rust (usvg) parses, Flutter's own GPU pipeline renders — no CPU rasterizer, SMIL animation support.
We analyzed this package 2 days ago, and awarded it 50 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting svgx... Discovering libraries... ERR: dartdoc 9.0.9 (/home/worker/dartdoc/build/dartdoc) failed: fatal error: unable to locate the input directory at '/tmp/pana_ESJZRN/lib/src/rust/api'. #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:218) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:205) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:82) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:208) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:291)
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 22 issues. Showing the first 2:
ERROR: Target of URI doesn't exist: '../rust/api/svg.dart'.
lib/src/animation/native_svg_values.dart:26:8
╷
26 │ import '../rust/api/svg.dart' as rust;
│ ^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/animation/native_svg_values.dart
ERROR: Target of URI doesn't exist: 'rust/api/svg.dart'.
lib/src/rust_static_svg.dart:18:8
╷
18 │ import 'rust/api/svg.dart';
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/rust_static_svg.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_rust_bridge |
2.12.0 |
2.12.0 | 2.13.0 | |
meta |
^1.17.0 |
1.19.0 | 1.19.0 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
xml |
>=6.0.0 <8.0.0 |
7.0.1 | 7.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
build_cli_annotations |
- | 2.1.1 | 2.1.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
vector_math |
- | 2.4.3 | 2.4.3 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `2.12.0` on flutter_rust_bridge does not support the stable version `2.13.0`.
Try running dart pub upgrade --major-versions flutter_rust_bridge 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 22 errors:
URI_DOES_NOT_EXIST-lib/src/animation/native_svg_values.dart:26:8- Target of URI doesn't exist: '../rust/api/svg.dart'.URI_DOES_NOT_EXIST-lib/src/rust_static_svg.dart:18:8- Target of URI doesn't exist: 'rust/api/svg.dart'.UNDEFINED_METHOD-lib/src/rust_static_svg.dart:230:19- The method 'parseSvg' isn't defined for the type 'RustSvgPictureCache'.
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.23.19, Flutter 3.47.4, Dart 3.13.3.
Check the analysis log for details.