re_svg_new 0.0.8 copy "re_svg_new: ^0.0.8" to clipboard
re_svg_new: ^0.0.8 copied to clipboard

A tiny and super-fast SVG rendering library for Flutter, with CSS support.

120/ 160
pub points
17
downloads

We analyzed this package 3 days ago, and awarded it 120 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

58 out of 113 API elements (51.3 %) have documentation comments.

Some symbols that are missing documentation: re_svg_new, re_svg_new.SvgView, re_svg_new.SvgView.SvgView.new, re_svg_new.SvgView.data, re_svg_new.SvgView.intrinsic.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:re_svg_new/re_svg_new.dart that declares support for platforms: Android, iOS, Linux, macOS, Web.

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

Swift Package Manager support:

Package does not support the Swift Package Manager on macOS

The package does not contain macos/re_svg_new/Package.swift.

Package does not support the Swift Package Manager on iOS

The package does not contain ios/re_svg_new/Package.swift.

Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.

Built-in Kotlin-ready: This Android plugin supports built-in Kotlin. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
ffi ^2.1.2 2.2.0 2.2.0
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
web >=0.3.0 <0.6.0 0.5.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
vector_math - 2.4.3 2.4.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `>=0.3.0 <0.6.0` on web does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions web to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/resvg_web.dart:112:19 - The argument type 'HTMLImageElement' can't be assigned to the parameter type 'CanvasImageSource'.

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.

Weekly downloads

Display as:
By versions:
0
likes
120
points
17
downloads

Documentation

API reference

Publisher

verified publishercsa8820.top

Weekly Downloads

A tiny and super-fast SVG rendering library for Flutter, with CSS support.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

ffi, flutter, flutter_web_plugins, plugin_platform_interface, web

More

Packages that depend on re_svg_new

Packages that implement re_svg_new