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

HTML content viewer

3
likes
120/ 160
pub points
85%
popularity

We analyzed this package 6 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

95 out of 292 API elements (32.5 %) have documentation comments.

Some symbols that are missing documentation: dart_ui_fake, dart_ui_real, html_parser, html_parser.ContainerSpan.child, html_parser.ContainerSpan.children.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
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/styled_element.dart that imports:
  • package:html_viewer_elite/style.dart that imports:
  • package:html_viewer_elite/html_parser.dart that imports:
  • package:html_viewer_elite/src/html_elements.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/styled_element.dart that imports:
  • package:html_viewer_elite/style.dart that imports:
  • package:html_viewer_elite/html_parser.dart that imports:
  • package:html_viewer_elite/src/html_elements.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

Package not compatible with runtime wasm

Because:

  • package:html_viewer_elite/html_viewer_elite.dart that imports:
  • package:html_viewer_elite/src/styled_element.dart that imports:
  • package:html_viewer_elite/style.dart that imports:
  • package:html_viewer_elite/html_parser.dart that imports:
  • package:html_viewer_elite/src/html_elements.dart that imports:
  • package:html_viewer_elite/src/replaced_element.dart that imports:
  • package:flutter_svg/flutter_svg.dart that imports:
  • package:flutter_svg/svg.dart that imports:
  • package:flutter_svg/src/default_theme.dart that imports:
  • package:flutter_svg/src/loaders.dart that imports:
  • package:flutter_svg/src/utilities/file.dart that imports:
  • package:flutter_svg/src/utilities/_file_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 24 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:117:49

    ╷
117 │         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:131:47

    ╷
131 │       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.18.0 1.19.0
csslib ^0.17.3 0.17.3 1.0.0
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.10+1 2.0.10+1
html ^0.15.3 0.15.4 0.15.4
numerus ^2.0.0 2.2.0 2.2.0
webview_flutter ^4.2.1 4.9.0 4.9.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.0
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.0 1.9.0
path_parsing - 1.0.1 1.0.1
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.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.3.2 1.3.2
vector_graphics - 1.1.11+1 1.1.11+1
vector_graphics_codec - 1.1.11+1 1.1.11+1
vector_graphics_compiler - 1.1.11+1 1.1.11+1
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
webview_flutter_android - 3.16.7 3.16.7
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.15.0 3.15.0
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.12, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.