interactive_svg 0.0.4
interactive_svg: ^0.0.4 copied to clipboard
A lightweight Flutter package for rendering SVGs with selectable, interactive regions, supporting hit-testing, bounds extraction, and zoom/scroll functionality.
We analyzed this package 29 hours ago, and awarded it 140 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.
10/10 points: 20% or more of the public API has dartdoc comments
120 out of 124 API elements (96.8 %) have documentation comments.
Some symbols that are missing documentation: interactive_svg, interactive_svg.$InteractiveParseContextCopyWith, interactive_svg.BoundsFactory.BoundsFactory.new, interactive_svg.InteractiveParserDelegate.InteractiveParserDelegate.new.
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
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 22 issues. Showing the first 2:
INFO: 'package:flutter/cupertino.dart' is deprecated and shouldn't be used. Use package:cupertino_ui/cupertino_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/bounds_test_painter.dart:6:1
╷
6 │ import 'package:flutter/cupertino.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/bounds_test_painter.dart
INFO: 'package:flutter/cupertino.dart' is deprecated and shouldn't be used. Use package:cupertino_ui/cupertino_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/entities/bounds_cache.dart:1:1
╷
1 │ import 'package:flutter/cupertino.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/entities/bounds_cache.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.19.1 |
1.19.1 | 1.19.1 | |
copy_with_extension |
^11.0.0 |
11.0.0 | 18.0.1 | |
flutter_svg |
^2.3.0 |
2.5.0 | 2.5.0 | |
meta |
^1.16.0 |
1.19.0 | 1.19.0 | |
path_drawing |
^1.0.1 |
1.0.1 | 1.0.1 | |
vector_math |
^2.2.0 |
2.4.4 | 2.4.4 | |
xml |
^6.6.1 |
6.6.1 | 7.1.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
cli_util |
- | 0.6.1 | 0.6.1 | |
ffi |
- | 2.2.0 | 2.2.0 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
listen |
- | 1.0.1 | 1.0.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 7.1.0 | 7.1.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_graphics |
- | 1.3.1 | 1.3.1 | |
vector_graphics_codec |
- | 1.2.0 | 1.2.0 | |
vector_graphics_compiler |
- | 1.3.6 | 1.3.6 | |
web |
- | 1.1.2 | 1.1.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^11.0.0` on copy_with_extension does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions copy_with_extension to update the constraint.
The constraint `^6.6.1` on xml does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions xml 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.23.19, Flutter 3.50.0, Dart 3.14.0.
Check the analysis log for details.