flutter_html_reborn 3.0.0 copy "flutter_html_reborn: ^3.0.0" to clipboard
flutter_html_reborn: ^3.0.0 copied to clipboard

A Flutter widget for rendering static HTML and CSS as Flutter widgets.

5
likes
130/ 160
pub points
78%
popularity

We analyzed this package 39 hours ago, and awarded it 130 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

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: flutter_html_reborn,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: flutter_html_reborn.

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

156 out of 372 API elements (41.9 %) have documentation comments.

Some symbols that are missing documentation: flutter_html_reborn, flutter_html_reborn.AnchorKey, flutter_html_reborn.AnchorKey.forId, flutter_html_reborn.AnchorKey.id, flutter_html_reborn.AnchorKey.of.

10/10 points: Package has an example and has no issues with screenshots

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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 4 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/src/css_box_widget.dart:84:57

   ╷
84 │                   data: MediaQuery.of(context).copyWith(textScaleFactor: 1.0),
   │                                                         ^^^^^^^^^^^^^^^
   ╵

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

INFO: 'textScaleFactorOf' is deprecated and shouldn't be used. Use textScalerOf 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/src/css_box_widget.dart:772:18

    ╷
772 │       MediaQuery.textScaleFactorOf(buildContext) *
    │                  ^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/css_box_widget.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 1.18.0 1.19.0
csslib ^0.17.2 0.17.3 1.0.0
flutter flutter 0.0.0 0.0.0
html ^0.15.3 0.15.4 0.15.4
list_counter ^1.0.2 1.0.2 1.0.2
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.0 1.9.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
term_glyph - 1.2.1 1.2.1
vector_math - 2.1.4 2.1.4

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

The constraint `^0.17.2` 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.

5
likes
130
pub points
78%
popularity
screenshot

Publisher

unverified uploader

A Flutter widget for rendering static HTML and CSS as Flutter widgets.

Repository (GitHub)
View/report issues

Topics

#html #css #widget #layout

Documentation

API reference

Funding

Consider supporting this project:

opencollective.com

License

MIT (license)

Dependencies

collection, csslib, flutter, html, list_counter

More

Packages that depend on flutter_html_reborn