webcontent_converter 0.0.9+2 copy "webcontent_converter: ^0.0.9+2" to clipboard
webcontent_converter: ^0.0.9+2 copied to clipboard

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

31
likes
120/ 160
pub points
90%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

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: AGPL-3.0.

partial
Provide documentation
10 / 20trigger folding of the section

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

7 out of 88 API elements (8.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: chrome_directory_helper, demo, demo.Demo, demo.Demo.Demo, demo.Demo.getInvoiceContent.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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_converter/webcontent_converter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:webcontent_converter/webcontent_converter.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_converter/webcontent_converter.dart that imports:
  • package:webcontent_converter/src/webcontent_converter/webcontent_converter_io.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_converter/webcontent_converter.dart that imports:
  • package:webcontent_converter/src/webcontent_converter/webcontent_converter_io.dart that imports:
  • package:puppeteer/puppeteer.dart that declares support for platforms: Windows, Linux, macOS, Web.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:webcontent_converter/webcontent_converter.dart that imports:
  • package:webcontent_converter/src/webcontent_converter/webcontent_converter_none.dart that imports:
  • package:puppeteer/puppeteer.dart that imports:
  • package:puppeteer/src/target.dart that imports:
  • package:puppeteer/src/target_manager.dart that imports:
  • package:puppeteer/src/connection.dart that imports:
  • package:puppeteer/src/websocket.dart that imports:
  • package:puppeteer/src/websocket_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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 16 issues. Showing the first 2:

INFO: Empty catch block.

lib/src/webcontent_converter/webcontent_converter_io.dart:231:23

    ╷
231 │             } catch (e) {
    │ ┌───────────────────────^
232 │ │           } finally {
    │ └───────────^
    ╵

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

INFO: An uninitialized variable should have an explicit type annotation.

lib/src/webcontent_converter/webcontent_converter_io.dart:278:9

    ╷
278 │     var result;
    │         ^^^^^^
    ╵

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
archive ^3.3.7 3.6.1 3.6.1
dio ^5.3.2 5.7.0 5.7.0
easy_logger ^0.0.2 0.0.2 0.0.2
flutter flutter 0.0.0 0.0.0
http ^1.1.0 1.2.2 1.2.2
js ^0.6.7 0.6.7 0.7.1
path ^1.8.3 1.9.0 1.9.0
path_provider ^2.1.0 2.1.4 2.1.4
puppeteer ^3.2.0 3.15.0 3.15.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
crypto - 3.0.5 3.0.5
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
http_parser - 4.0.2 4.1.0
logging - 1.2.0 1.2.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 6.0.2 6.0.2
platform - 3.1.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
pool - 1.5.1 1.5.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0

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

The constraint `^0.6.7` on js does not support the stable version `0.7.0`.

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

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.22.12, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.

31
likes
120
pub points
90%
popularity

Publisher

verified publishermylekha.app

This plugin was made for developer to convert 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

archive, dio, easy_logger, flutter, http, js, path, path_provider, puppeteer

More

Packages that depend on webcontent_converter