svg_flutter 0.0.1
svg_flutter: ^0.0.1 copied to clipboard
An upgraded SVG Renderer and widget library for Flutter with error handling capability for Svg Pictures.
We analyzed this package 15 days 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
107 out of 112 API elements (95.5 %) have documentation comments.
Some symbols that are missing documentation: svg, svg.PictureProvider.PictureProvider.new, svg.SvgPicture.errorImage, svg_flutter, svg_flutter.Cache.Cache.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
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:svg_flutter/svg_flutter.dartthat imports:package:svg_flutter/svg.dartthat imports:package:svg_flutter/src/default_theme.dartthat imports:package:svg_flutter/src/loaders.dartthat imports:package:svg_flutter/src/utilities/http.dartthat imports:package:svg_flutter/src/utilities/_http_io.dartthat 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 22 issues. Showing the first 2:
WARNING: The parameter type of '==' operators should be non-nullable.
lib/src/loaders.dart:58:17
╷
58 │ bool operator ==(dynamic other) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/loaders.dart
INFO: 'value' is deprecated and shouldn't be used. Use component accessors like .r or .g, or toARGB32 for an explicit conversion.
lib/src/loaders.dart:51:43
╷
51 │ currentColor: vg.Color(currentColor.value),
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/loaders.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
vector_graphics |
^1.1.7 |
1.1.19 | 1.1.19 | |
vector_graphics_codec |
^1.1.7 |
1.1.13 | 1.1.13 | |
vector_graphics_compiler |
^1.1.7 |
1.1.19 | 1.1.19 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
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_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.