js_widget 1.0.4
js_widget: ^1.0.4 copied to clipboard
A Flutter package to render HTML and CSS as Flutter widgets through webview integration. Supports both web and mobile platforms with conditional compilation.
We analyzed this package 9 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/EnsembleUI/ensemble/tree/main/modules/js_widget was unreachable. Make sure that the website is reachable via HEAD requests.
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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
7 out of 17 API elements (41.2 %) have documentation comments.
Some symbols that are missing documentation: js_widget, js_widget.JsState, js_widget.JsState.JsState.new, js_widget.JsWidget.JsWidget.new, js_widget.JsWidget.createHtmlTag.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:js_widget/js_widget.dartthat imports:package:js_widget/src/mobile/js_widget.dartthat imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `iOS`.
Because:
package:js_widget/js_widget.dartthat imports:package:js_widget/src/mobile/js_widget.dartthat imports:package:webview_flutter_android/webview_flutter_android.dartthat declares support for platforms:Android.
Package does not support platform `Windows`.
Because:
package:js_widget/js_widget.dartthat imports:package:js_widget/src/mobile/js_widget.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:js_widget/js_widget.dartthat imports:package:js_widget/src/mobile/js_widget.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `macOS`.
Because:
package:js_widget/js_widget.dartthat imports:package:js_widget/src/mobile/js_widget.dartthat imports:package:webview_flutter_android/webview_flutter_android.dartthat declares support for platforms:Android.
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/mobile/js_widget.dart:1:1
╷
1 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/mobile/js_widget.dart
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/unsupported.dart:1:1
╷
1 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/unsupported.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cupertino_icons |
^1.0.8 |
1.0.9 | 2.0.0 | |
url_launcher |
^6.3.2 |
6.3.3 | 6.3.3 | |
web |
^1.1.1 |
1.1.2 | 1.1.2 | |
webview_flutter |
^4.13.0 |
4.14.1 | 4.14.1 | |
webview_flutter_android |
^4.9.1 |
4.14.1 | 4.14.1 | |
webview_flutter_wkwebview |
^3.23.0 |
3.27.2 | 3.27.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
listen |
- | 1.0.1 | 1.0.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
url_launcher_android |
- | 6.3.35 | 6.3.35 | |
url_launcher_ios |
- | 6.4.2 | 6.4.2 | |
url_launcher_linux |
- | 3.2.3 | 3.2.3 | |
url_launcher_macos |
- | 3.2.6 | 3.2.6 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.3 | 2.4.3 | |
url_launcher_windows |
- | 3.1.6 | 3.1.6 | |
vector_math |
- | 2.4.4 | 2.4.4 | |
webview_flutter_platform_interface |
- | 2.15.1 | 2.15.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.0.8` on cupertino_icons does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions cupertino_icons 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.23.19, Flutter 3.50.0, Dart 3.14.0.
Check the analysis log for details.