flutter_webview_kit 0.0.11
flutter_webview_kit: ^0.0.11 copied to clipboard
基础的网页视图(可快捷添加各种必备js,及常见的错误重试机制).
We analyzed this package 2 days ago, and awarded it 125 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 50 to 180 characters to describe the package, what it does, and its target use case.
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description
field in your package's pubspec.yaml
should primarily contain characters used in English.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md
in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
213 out of 257 API elements (82.9 %) have documentation comments.
Some symbols that are missing documentation: flutter_webview_kit
, flutter_webview_kit.AddCheckRunJS
, flutter_webview_kit.AddCheckRunJS.callingLogHandle
, flutter_webview_kit.AddCheckRunJS.cj1_addJavaScriptChannel
, flutter_webview_kit.AddCheckRunJS.cj2_addJavaScriptChannel
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:flutter_webview_kit/flutter_webview_kit.dart
that imports:package:flutter_webview_kit/src/web_error_or_reshow/webview_controller_web_error_reshow_extension.dart
that imports:package:flutter_webview_kit/src/js_add_check_run/webview_controller_add_check_run_js.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:flutter_webview_kit/flutter_webview_kit.dart
that imports:package:flutter_webview_kit/src/web_error_or_reshow/webview_controller_web_error_reshow_extension.dart
that imports:package:flutter_webview_kit/src/js_add_check_run/webview_controller_add_check_run_js.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Web`.
Because:
package:flutter_webview_kit/flutter_webview_kit.dart
that imports:package:flutter_webview_kit/src/web_error_or_reshow/webview_controller_web_error_reshow_extension.dart
that imports:package:flutter_webview_kit/src/js_add_check_run/webview_controller_add_check_run_js.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_webview_kit/flutter_webview_kit.dart
that imports:package:flutter_webview_kit/src/js/webview_controller_js_base_extension.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
INFO: 'MediaQueryData.fromWindow' is deprecated and shouldn't be used. Use MediaQueryData.fromView instead. This constructor was deprecated in preparation for the upcoming multi-window support. This feature was deprecated after v3.7.0-32.0.pre.
lib/flutter_webview_kit_adapt.dart:24:33
╷
24 │ MediaQueryData mediaQuery = MediaQueryData.fromWindow(window);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_webview_kit_adapt.dart
INFO: 'window' is deprecated and shouldn't be used. Look up the current FlutterView from the context via View.of(context) or consult the PlatformDispatcher directly instead. Deprecated to prepare for the upcoming multi-window support. This feature was deprecated after v3.7.0-32.0.pre.
lib/flutter_webview_kit_adapt.dart:24:59
╷
24 │ MediaQueryData mediaQuery = MediaQueryData.fromWindow(window);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_webview_kit_adapt.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
url_launcher |
^6.1.5 |
6.3.1 | 6.3.1 | |
webview_flutter |
^4.1.0 |
4.13.0 | 4.13.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
url_launcher_android |
- | 6.3.16 | 6.3.16 | |
url_launcher_ios |
- | 6.3.3 | 6.3.3 | |
url_launcher_linux |
- | 3.2.1 | 3.2.1 | |
url_launcher_macos |
- | 3.2.2 | 3.2.2 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.4 | 3.1.4 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter_android |
- | 4.7.0 | 4.7.0 | |
webview_flutter_platform_interface |
- | 2.13.1 | 2.13.1 | |
webview_flutter_wkwebview |
- | 3.22.0 | 3.22.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.