js_widget_runtime 0.4.191
js_widget_runtime: ^0.4.191 copied to clipboard
Run JavaScript widgets as Flutter widgets using QuickJS (VM) or Web Workers (web).
We analyzed this package 29 hours ago, and awarded it 110 pub points (of a possible 160):
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
419 out of 691 API elements (60.6 %) have documentation comments.
Some symbols that are missing documentation: js_widget_runtime.AssetWidgetFileReader.AssetWidgetFileReader.new, js_widget_runtime.AssetWidgetFileReader.basePath, js_widget_runtime.AssetWidgetFileReader.readString, js_widget_runtime.Cube3dController.config, js_widget_runtime.Cube3dController.onSceneCreated.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
SDK issues found:
Package is not compatible with the Dart SDK.
Because:
js_widget_runtimethat is a package requiring flutter.
Package is not compatible with the Flutter SDK.
Package is not compatible with the Flutter SDK. Because:
package:js_widget_runtime/js_widget_runtime.dartthat imports:package:js_widget_runtime/src/renderer/nodes/three/flutter_gpu_three_host.dartthat imports:package:js_widget_runtime/src/renderer/nodes/three/flutter_gpu_three_backend.dartthat imports:package:flutter_gpu/gpu.dartthat imports:dart:nativewrappers
Package is not compatible with the Dart SDK.
Because:
js_widget_runtimethat is a package requiring flutter.
These platforms are not supported:
Package not compatible with platform Android
Because:
package:js_widget_runtime/js_widget_runtime.dartthat imports:package:js_widget_runtime/src/renderer/nodes/three/flutter_gpu_three_host.dartthat imports:package:js_widget_runtime/src/renderer/nodes/three/flutter_gpu_three_backend.dartthat imports:package:flutter_gpu/gpu.dartthat imports:dart:nativewrappers
Package not compatible with platform iOS
Because:
package:js_widget_runtime/js_widget_runtime.dartthat imports:package:js_widget_runtime/src/renderer/nodes/three/flutter_gpu_three_host.dartthat imports:package:js_widget_runtime/src/renderer/nodes/three/flutter_gpu_three_backend.dartthat imports:package:flutter_gpu/gpu.dartthat imports:dart:nativewrappers
Package not compatible with platform Windows
Because:
package:js_widget_runtime/js_widget_runtime.dartthat imports:package:js_widget_runtime/src/renderer/nodes/three/flutter_gpu_three_host.dartthat imports:package:js_widget_runtime/src/renderer/nodes/three/flutter_gpu_three_backend.dartthat imports:package:flutter_gpu/gpu.dartthat imports:dart:nativewrappers
Package not compatible with platform Linux
Because:
package:js_widget_runtime/js_widget_runtime.dartthat imports:package:js_widget_runtime/src/renderer/nodes/three/flutter_gpu_three_host.dartthat imports:package:js_widget_runtime/src/renderer/nodes/three/flutter_gpu_three_backend.dartthat imports:package:flutter_gpu/gpu.dartthat imports:dart:nativewrappers
Package not compatible with platform macOS
Because:
package:js_widget_runtime/js_widget_runtime.dartthat imports:package:js_widget_runtime/src/renderer/nodes/three/flutter_gpu_three_host.dartthat imports:package:js_widget_runtime/src/renderer/nodes/three/flutter_gpu_three_backend.dartthat imports:package:flutter_gpu/gpu.dartthat imports:dart:nativewrappers
Package not compatible with platform Web
Because:
package:js_widget_runtime/js_widget_runtime.dartthat imports:package:js_widget_runtime/src/renderer/nodes/hosts/cube_3d_host.dartthat imports:package:flutter_cube/flutter_cube.dartthat imports:package:flutter_cube/src/material.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
WARNING: A value for optional parameter 'key' isn't ever given.
lib/src/renderer/nodes/hosts/flame_3d_host.dart:986:35
╷
986 │ const _Flame3dGameWidget({super.key, required this.controller});
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/renderer/nodes/hosts/flame_3d_host.dart
WARNING: The member 'debugStopTimers' can only be used within 'package:js_widget_runtime/src/runtime/js_widget_bridge.dart' or a test.
lib/src/runtime/js_widget_engine_quickjs.dart:241:13
╷
241 │ _bridge.debugStopTimers();
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/runtime/js_widget_engine_quickjs.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.19.1 |
1.19.1 | 1.19.1 | |
fl_chart |
^1.2.0 |
1.3.0 | 1.3.0 | |
flame |
^1.38.0 |
1.38.2 | 1.38.2 | |
flutter_cube |
^0.1.1 |
0.1.1 | 0.1.1 | |
flutter_js |
^0.8.7 |
0.8.7 | 0.8.7 | |
flutter_map |
^8.2.2 |
8.3.2 | 8.3.2 | |
flutter_markdown_plus |
^1.0.7 |
1.0.12 | 1.0.12 | |
flutter_svg |
^2.3.0 |
2.3.2 | 2.3.2 | |
latlong2 |
^0.9.1 |
0.9.1 | 0.10.1 | |
meta |
^1.12.0 |
1.19.0 | 1.19.0 | |
ordered_set |
^8.0.0 |
8.0.1 | 8.0.1 | |
path |
^1.9.1 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.3 |
2.1.6 | 2.1.6 | |
quickjs_runtime |
^0.4.8 |
0.4.8 | 0.4.8 | |
shared_preferences |
^2.5.3 |
2.5.6 | 2.5.6 | |
vector_math |
^2.1.4 |
2.4.4 | 2.4.4 | |
web |
^1.1.1 |
1.1.2 | 1.1.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.5.2 | 4.5.2 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
code_assets |
- | 2.1.0 | 2.1.0 | |
crypto |
- | 3.0.8 | 3.0.8 | |
dart_earcut |
- | 1.2.0 | 1.2.0 | |
dart_polylabel2 |
- | 1.0.0 | 1.0.0 | |
equatable |
- | 3.0.0 | 3.0.0 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
glob |
- | 2.2.0 | 2.2.0 | |
hooks |
- | 2.2.0 | 2.2.0 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.3 | 0.20.3 | |
jni |
- | 1.1.1 | 1.1.1 | |
jni_flutter |
- | 1.0.4+1 | 1.0.4+1 | |
jni_util |
- | 1.0.0 | 1.0.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
markdown |
- | 7.3.1 | 7.3.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
mgrs_dart |
- | 3.0.0 | 3.0.0 | |
native_synchronization |
- | 0.3.1 | 0.3.1 | |
native_toolchain_c |
- | 0.19.5 | 0.19.5 | |
objective_c |
- | 9.6.2 | 9.6.2 | |
package_config |
- | 3.0.0 | 3.0.0 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.2 | 2.2.2 | |
path_provider_platform_interface |
- | 2.1.3 | 2.1.3 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 7.1.0 | 7.1.0 | |
platform |
- | 3.2.0 | 3.2.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.5.4 | 6.5.4 | |
process |
- | 5.0.6 | 5.0.6 | |
proj4dart |
- | 3.0.0 | 3.0.0 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
record_use |
- | 1.1.1 | 1.1.1 | |
shared_preferences_android |
- | 2.5.4 | 2.5.4 | |
shared_preferences_foundation |
- | 2.6.1 | 2.6.1 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.2 | 2.4.2 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
simple_sparse_list |
- | 0.1.4 | 0.1.4 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
sync_http |
- | 0.3.1 | 0.3.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
unicode |
- | 1.1.9 | 1.1.9 | |
uuid |
- | 4.6.0 | 4.6.0 | |
vector_graphics |
- | 1.2.4 | 1.2.4 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.3.3 | 1.3.3 | |
wkt_parser |
- | 2.0.0 | 2.0.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 7.0.1 | 7.1.0 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.9.1` on latlong2 does not support the stable version `0.10.0`.
Try running dart pub upgrade --major-versions latlong2 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.47.7, Dart 3.13.5.
Check the analysis log for details.