flutter_html_view 0.5.12

Flutter Android iOS

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

15
likes
70 / 110
pub points
90 %
popularity

We analyzed this package on Oct 27, 2020, and awarded it 70 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

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.

Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Consider supporting multiple platforms:

Package does not support Flutter 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

Consider supporting these prerelease platforms:

Package does not support Flutter 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 Flutter 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 Flutter 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
Pass static analysis
20 / 30

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

Found 5 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 pedantic 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 pedantic and run flutter analyze lib/flutter_html_view.dart

Support up-to-date dependencies
10 / 20

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

PackageConstraintCompatibleLatest
cached_network_image^0.7.00.7.02.3.3
flutterflutter0.0.00.0.0
flutter_custom_tabs^0.6.00.6.00.6.0
flutter_markdown^0.2.00.2.00.5.0
html^0.13.3+30.13.4+20.14.0+4
html2md^0.3.00.3.10.5.1
video_player0.10.0+20.10.0+20.11.1+2
Transitive dependencies
PackageConstraintCompatibleLatest
args-1.6.01.6.0
characters-1.1.0-nullsafety.31.1.0-nullsafety.4
charcode-1.1.31.1.3
collection-1.15.0-nullsafety.31.15.0-nullsafety.4
convert-2.1.12.1.1
crypto-2.1.52.1.5
csslib-0.15.00.16.2
flutter_cache_manager-0.3.22.0.0
flutter_web_plugins-0.0.00.0.0
http-0.12.20.12.2
http_parser-3.1.43.1.4
markdown-2.1.83.0.0
meta-1.3.0-nullsafety.31.3.0-nullsafety.5
path-1.7.01.7.0
path_provider-0.5.0+11.6.22
pedantic-1.9.21.9.2
plugin_platform_interface-1.0.31.0.3
sky_engine-0.0.990.0.99
source_span-1.7.01.7.0
sqflite-1.3.1+21.3.1+2
sqflite_common-1.0.2+11.0.2+1
string_scanner-1.0.51.0.5
synchronized-2.2.0+22.2.0+2
term_glyph-1.1.01.1.0
typed_data-1.3.0-nullsafety.31.3.0-nullsafety.4
url_launcher-5.7.85.7.8
url_launcher_linux-0.0.1+30.0.1+3
url_launcher_macos-0.0.1+80.0.1+8
url_launcher_platform_interface-1.0.91.0.9
url_launcher_web-0.1.50.1.5
url_launcher_windows-0.0.1+10.0.1+1
utf-0.9.0+50.9.0+5
uuid-2.2.22.2.2
vector_math-2.1.0-nullsafety.32.1.0-nullsafety.4

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

Found 5 issues. Showing the first 2:

The constraint `^0.7.0` on cached_network_image does not support the latest published version `2.3.3`

pubspec.yaml:13:25

   ╷
13 │   cached_network_image: ^0.7.0
   │                         ^^^^^^
   ╵
The constraint `^0.2.0` on flutter_markdown does not support the latest published version `0.5.0`

pubspec.yaml:15:21

   ╷
15 │   flutter_markdown: ^0.2.0
   │                     ^^^^^^
   ╵

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

15
likes
70
pub points
90%
popularity

Publisher

karthikponnam.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)
View/report issues

Documentation

API reference

License

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