chunked_widget_to_image 0.0.2 copy "chunked_widget_to_image: ^0.0.2" to clipboard
chunked_widget_to_image: ^0.0.2 copied to clipboard

A Flutter plugin to convert widgets to image files with support for large images via chunking.

140/ 160
pub points
76
downloads

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

10 out of 25 API elements (40.0 %) have documentation comments.

Some symbols that are missing documentation: chunked_widget_to_image, chunked_widget_to_image.ImageFormat, chunked_widget_to_image.RenderRepaintBoundaryExt, chunked_widget_to_image.RenderRepaintBoundaryExt.executeWriteImage, chunked_widget_to_image.RenderRepaintBoundaryExt.toImageChunks.

Passed check 10/10 points: Package has an example

Passed 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 does not support platform `Web`.

Because:

  • package:chunked_widget_to_image/chunked_widget_to_image.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 7 issues. Showing the first 2:

WARNING: The member 'layer' can only be used within instance members of subclasses of 'RenderObject'.

lib/src/render_repaint_boundary_ext.dart:129:37

    ╷
129 │     final OffsetLayer offsetLayer = layer! as OffsetLayer;
    │                                     ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/render_repaint_boundary_ext.dart

INFO: Empty catch block.

lib/src/chunked_widget_to_image_controller.dart:172:19

    ╷
172 │       } catch (e) {}
    │                   ^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/chunked_widget_to_image_controller.dart

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

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

Package Constraint Compatible Latest Notes
ffi ^2.1.3 2.1.4 2.1.4
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
vector_math - 2.2.0 2.2.0

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

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.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
140
points
76
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to convert widgets to image files with support for large images via chunking.

Repository (GitHub)
View/report issues

Topics

#image #chunked-exporter #widget-to-image #libpng #libjpeg

Documentation

API reference

License

MIT (license)

Dependencies

ffi, flutter, plugin_platform_interface

More

Packages that depend on chunked_widget_to_image

Packages that implement chunked_widget_to_image