hybrid_image 1.0.0 copy "hybrid_image: ^1.0.0" to clipboard
hybrid_image: ^1.0.0 copied to clipboard

This package wraps the flutter_svg package and the Flutter SDK image constructors. The package picks the right Image constructor based on extension

6
likes
150/ 160
pub points
83
downloads

We analyzed this package 8 days ago, and awarded it 150 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

7 out of 18 API elements (38.9 %) have documentation comments.

Some symbols that are missing documentation: hybrid_image, image, image.HybridImage.alignment, image.HybridImage.assetPath, image.HybridImage.file.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:hybrid_image/hybrid_image.dart that imports:
  • package:hybrid_image/image.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:hybrid_image/hybrid_image.dart that imports:
  • package:hybrid_image/image.dart that imports:
  • package:flutter_svg/flutter_svg.dart that imports:
  • package:flutter_svg/svg.dart that imports:
  • package:flutter_svg/src/vector_drawable.dart that imports:
  • package:flutter_svg/src/svg/parsers.dart that imports:
  • package:flutter_svg/src/utilities/http.dart that imports:
  • package:flutter_svg/src/utilities/_http_io.dart that 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.dev/web/wasm 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
30 / 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
flutter_svg ^1.0.0 1.1.6 2.0.17
path ^1.8.1 1.9.1 1.9.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path_drawing - 1.0.1 1.0.1
path_parsing - 1.1.0 1.1.0
petitparser - 6.1.0 6.1.0
vector_math - 2.1.4 2.1.4
xml - 6.5.0 6.5.0

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

The constraint `^1.0.0` on flutter_svg does not support the stable version `2.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 10Aug 7Sep 4Oct 2Oct 30Nov 27Dec 25Jan 22Feb 19Mar 190102030405060>=0.0.0-0 <1.0.0>=1.0.0-0 <2.0.0
6
likes
150
points
83
downloads

Publisher

verified publisherdutchcodingcompany.com

Weekly Downloads

2024.09.26 - 2025.04.10

This package wraps the flutter_svg package and the Flutter SDK image constructors. The package picks the right Image constructor based on extension

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_svg, path

More

Packages that depend on hybrid_image