pure_svg 0.2.0
pure_svg: ^0.2.0 copied to clipboard
A pure Dart SVG parser and renderer designed for Flutter and Dart projects.
We analyzed this package 16 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
43 out of 47 API elements (91.5 %) have documentation comments.
Some symbols that are missing documentation: flutter_svg, svg, svg.Cache.Cache.new, svg.PictureProvider.PictureProvider.new.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform iOS
Because:
package:pure_svg/flutter_svg.dartthat imports:package:pure_svg/svg.dartthat imports:package:pure_svg/src/loaders.dartthat imports:package:pure_ui/pure_ui.dartthat imports:dart:nativewrappers
Package not compatible with platform Web
Because:
package:pure_svg/flutter_svg.dartthat imports:package:pure_svg/svg.dartthat imports:package:pure_svg/src/loaders.dartthat imports:package:pure_ui/pure_ui.dartthat imports:dart:nativewrappers
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: The import of 'src/cache.dart' is unnecessary because all of the used elements are also provided by the import of 'package:pure_svg/svg.dart'.
lib/svg.dart:6:8
╷
6 │ import 'src/cache.dart';
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/svg.dart
INFO: The import of 'src/png_renderer.dart' is unnecessary because all of the used elements are also provided by the import of 'package:pure_svg/svg.dart'.
lib/svg.dart:7:8
╷
7 │ import 'src/png_renderer.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/svg.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
meta |
^1.0.0 |
1.18.3 | 1.18.3 | |
path_parsing |
^1.0.0 |
1.1.0 | 1.1.0 | |
pure_ui |
^0.1.7 |
0.1.7 | 0.1.7 | |
xml |
^6.3.0 |
6.6.1 | 7.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.9 | 4.0.9 | |
collection |
- | 1.19.1 | 1.19.1 | |
ffi |
- | 2.2.0 | 2.2.0 | |
image |
- | 4.8.0 | 4.9.1 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
posix |
- | 6.5.0 | 6.5.0 | |
vector_math |
- | 2.4.0 | 2.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^6.3.0` 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.12, Dart 3.12.2.
Check the analysis log for details.