flutter_html_view 0.5.12 icon indicating copy to clipboard operation
flutter_html_view: ^0.5.12 copied to clipboard

Flutter Plugin to render html, Flutter has no default support to render html so this package helps you to render your html to native widgets

25
likes
90/ 140
pub points
84%
popularity

We analyzed this package 34 hours ago, and awarded it 90 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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: Apache-2.0.

icon indicating section status
Provide documentation
10 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 10 out of 73 API elements (13.7 %) 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.

icon indicating section status
Platform support
20 / 20icon to trigger 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:flutter_html_view/flutter_html_view.dart that imports:
  • package:flutter_custom_tabs/flutter_custom_tabs.dart that declares support for platforms: Android, iOS.

Package does not support platform Linux.

Because:

  • package:flutter_html_view/flutter_html_view.dart that imports:
  • package:flutter_custom_tabs/flutter_custom_tabs.dart that declares support for platforms: Android, iOS.

Package does not support platform macOS.

Because:

  • package:flutter_html_view/flutter_html_view.dart that imports:
  • package:flutter_custom_tabs/flutter_custom_tabs.dart that declares support for platforms: Android, iOS.

Package does not support platform Web.

Because:

  • package:flutter_html_view/flutter_html_view.dart that imports:
  • package:flutter_custom_tabs/flutter_custom_tabs.dart that declares support for platforms: Android, iOS.
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 6 issues. Showing the first 2:

INFO: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: HtmlText.ctx

lib/flutter_html_text.dart:6:7

  ╷
6 │ class HtmlText extends StatelessWidget {
  │       ^^^^^^^^
  ╵

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

INFO: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: HtmlView.stylingOptions, HtmlView.ctx, HtmlView.styleSheet

lib/flutter_html_view.dart:8:7

  ╷
8 │ class HtmlView extends StatelessWidget {
  │       ^^^^^^^^
  ╵

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
cached_network_image^0.7.00.7.03.2.3
flutterflutter0.0.00.0.0
flutter_custom_tabs^0.6.00.6.01.0.4
flutter_markdown^0.2.00.2.00.6.13
html^0.13.3+30.13.4+20.15.1
html2md^0.3.00.3.11.2.6
video_player0.10.0+20.10.0+22.4.8
Transitive dependencies
PackageConstraintCompatibleLatest
args-1.6.02.3.1
characters-1.2.11.2.1
charcode-1.3.11.3.1
collection-1.16.01.17.0
convert-2.1.13.1.1
crypto-2.1.53.0.2
csslib-0.15.00.17.2
flutter_cache_manager-0.3.23.3.0
flutter_web_plugins-0.0.00.0.0
http-0.12.20.13.5
http_parser-3.1.44.0.2
js-0.6.40.6.5
markdown-2.1.86.0.1
material_color_utilities-0.1.50.2.0
meta-1.8.01.8.0
path-1.8.31.8.3
path_provider-0.5.0+12.0.11
pedantic-1.11.11.11.1
plugin_platform_interface-1.0.32.1.3
sky_engine-0.0.990.0.99
source_span-1.9.11.9.1
sqflite-1.3.2+42.2.2
sqflite_common-1.0.3+32.4.0+2
string_scanner-1.2.01.2.0
synchronized-2.2.0+23.0.0+3
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1
url_launcher-5.7.106.1.7
url_launcher_linux-0.0.1+43.0.1
url_launcher_macos-0.0.1+93.0.1
url_launcher_platform_interface-1.0.92.1.1
url_launcher_web-0.1.5+32.0.13
url_launcher_windows-0.0.1+33.0.1
utf-0.9.0+50.9.0+5
uuid-2.2.23.0.7
vector_math-2.1.22.1.4

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

Found 6 issues. Showing the first 2:

The constraint ^0.7.0 on cached_network_image does not support the stable version 0.8.0.

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

The constraint ^0.6.0 on flutter_custom_tabs does not support the stable version 0.7.0.

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

0/20 points: Package does not opt in to null safety.

Package language version (indicated by the sdk constraint >=2.0.0-dev.28.0 <3.0.0) is less than 2.12.

Consider migrating.

Analysed with Pana 0.21.21, Flutter 3.3.9, Dart 2.18.5.

25
likes
90
pub points
84%
popularity

Publisher

verified publisher iconkarthikponnam.dev

Flutter Plugin to render html, Flutter has no default support to render html so this package helps you to render your html to native widgets

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.Apache-2.0 (LICENSE)

Dependencies

cached_network_image, flutter, flutter_custom_tabs, flutter_markdown, html, html2md, video_player

More

Packages that depend on flutter_html_view