webcontent_converter2 0.0.7+1 copy "webcontent_converter2: ^0.0.7+1" to clipboard
webcontent_converter2: ^0.0.7+1 copied to clipboard

Pluigin for converting any webcontent, web uri to image bitmap or pdf file. This plugin use WebView on android, WKWebView on Ios and chromium for desktop support.

130/ 160
pub points
1
downloads

We analyzed this package 16 hours ago, and awarded it 130 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: AGPL-3.0.

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

14 out of 51 API elements (27.5 %) have documentation comments.

Some symbols that are missing documentation: webcontent_converter2, webcontent_converter2.PaperFormat, webcontent_converter2.PaperFormat.PaperFormat.cm, webcontent_converter2.PaperFormat.PaperFormat.inches, webcontent_converter2.PaperFormat.PaperFormat.mm.

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 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:webcontent_converter2/webcontent_converter2.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:webcontent_converter2/webcontent_converter2.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:webcontent_converter2/webcontent_converter2.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:webcontent_converter2/webcontent_converter2.dart that declares support for platforms: Android, iOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:webcontent_converter2/webcontent_converter2.dart that imports:
  • package:webcontent_converter2/src/webcontent_converter2.dart that imports:
  • package:webcontent_converter2/src/webcontent_to_image_default.dart that imports:
  • package:puppeteer/puppeteer.dart that declares support for platforms: Windows, Linux, macOS, Web.
Package does not support platform `iOS`.

Because:

  • package:webcontent_converter2/webcontent_converter2.dart that imports:
  • package:webcontent_converter2/src/webcontent_converter2.dart that imports:
  • package:webcontent_converter2/src/webcontent_to_image_default.dart that imports:
  • package:puppeteer/puppeteer.dart that declares support for platforms: Windows, Linux, macOS, Web.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/webcontent_converter2/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

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 3 issues. Showing the first 2:

WARNING: The declaration '_getBlobData' isn't referenced.

lib/src/webcontent_to_image_web.dart:45:20

   ╷
45 │ Future<Uint8List?> _getBlobData(html.Blob blob) async {
   │                    ^^^^^^^^^^^^
   ╵

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

INFO: The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/services.dart'.

lib/src/webcontent_to_image_default.dart:2:8

  ╷
2 │ import 'dart:typed_data';
  │        ^^^^^^^^^^^^^^^^^
  ╵

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

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
dio ^4.0.4 4.0.6 5.9.0
easy_logger ^0.0.2 0.0.2 0.0.2
puppeteer ^2.4.0 2.25.1 3.20.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.7
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
http - 0.13.6 1.6.0
http_parser - 4.1.2 4.1.2
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
petitparser - 5.4.0 7.0.1
pool - 1.5.2 1.5.2
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.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

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

The constraint `^4.0.4` on dio does not support the stable version `5.0.0`.

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

The constraint `^2.4.0` on puppeteer does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions puppeteer 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.23.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
130
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

Pluigin for converting any webcontent, web uri to image bitmap or pdf file. This plugin use WebView on android, WKWebView on Ios and chromium for desktop support.

Repository (GitHub)
View/report issues

Documentation

API reference

License

AGPL-3.0 (license)

Dependencies

dio, easy_logger, flutter, puppeteer

More

Packages that depend on webcontent_converter2

Packages that implement webcontent_converter2