html_viewer_elite 0.0.4 copy "html_viewer_elite: ^0.0.4" to clipboard
html_viewer_elite: ^0.0.4 copied to clipboard

HTML content viewer

3
likes
120/ 160
pub points
910
downloads

We analyzed this package 47 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 short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

101 out of 294 API elements (34.4 %) have documentation comments.

Some symbols that are missing documentation: dart_ui_fake, dart_ui_real, flutter_html, flutter_html.AnchorKey, flutter_html.AnchorKey.forId.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:html_viewer_elite/html_viewer_elite.dart that imports:
  • package:html_viewer_elite/src/replaced_element.dart that imports:
  • package:html_viewer_elite/src/widgets/iframe_mobile.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:html_viewer_elite/html_viewer_elite.dart that imports:
  • package:html_viewer_elite/src/replaced_element.dart that imports:
  • package:html_viewer_elite/src/widgets/iframe_mobile.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.

0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional 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 25 issues. Showing the first 2:

INFO: 'textScaleFactor' is deprecated and shouldn't be used. Use textScaler instead. Use of textScaleFactor was deprecated in preparation for the upcoming nonlinear text scaling support. This feature was deprecated after v3.12.0-2.0.pre.

lib/html_parser.dart:121:49

    ╷
121 │         textScaleFactor: MediaQuery.of(context).textScaleFactor,
    │                                                 ^^^^^^^^^^^^^^^
    ╵

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

INFO: 'textScaleFactor' is deprecated and shouldn't be used. Use textScaler instead. Use of textScaleFactor was deprecated in preparation for the upcoming nonlinear text scaling support. This feature was deprecated after v3.12.0-2.0.pre.

lib/html_parser.dart:135:47

    ╷
135 │       textScaleFactor: MediaQuery.of(context).textScaleFactor,
    │                                               ^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/html_parser.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
collection >=1.17.0 <3.0.0 1.19.0 1.19.1
csslib ^0.17.3 0.17.3 1.0.2
flutter flutter 0.0.0 0.0.0
flutter_layout_grid ^2.0.3 2.0.7 2.0.7
flutter_svg ^2.0.6 2.0.16 2.0.16
html ^0.15.3 0.15.4 0.15.5
numerus ^2.0.0 2.3.0 2.3.0
video_player ^2.7.0 2.9.2 2.9.2
webview_flutter ^4.2.1 4.10.0 4.10.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
characters - 1.3.0 1.4.0
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
quiver - 3.2.2 3.2.2
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
typed_data - 1.4.0 1.4.0
vector_graphics - 1.1.15 1.1.15
vector_graphics_codec - 1.1.12 1.1.12
vector_graphics_compiler - 1.1.16 1.1.16
vector_math - 2.1.4 2.1.4
video_player_android - 2.7.16 2.7.16
video_player_avfoundation - 2.6.5 2.6.5
video_player_platform_interface - 6.2.3 6.2.3
video_player_web - 2.3.3 2.3.3
web - 1.1.0 1.1.0
webview_flutter_android - 4.2.0 4.2.0
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.16.3 3.16.3
xml - 6.5.0 6.5.0

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

The constraint `^0.17.3` on csslib does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions csslib 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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

3
likes
120
points
910
downloads

Publisher

unverified uploader

Weekly Downloads

HTML content viewer

Documentation

API reference

License

MIT (license)

Dependencies

collection, csslib, flutter, flutter_layout_grid, flutter_svg, html, numerus, video_player, webview_flutter

More

Packages that depend on html_viewer_elite