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.dartthat imports:package:flutter_webview_kit/src/web_error_or_reshow/webview_controller_web_error_reshow_extension.dartthat imports:package:flutter_webview_kit/src/js_add_check_run/webview_controller_add_check_run_js.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:flutter_webview_kit/flutter_webview_kit.dartthat imports:package:flutter_webview_kit/src/web_error_or_reshow/webview_controller_web_error_reshow_extension.dartthat imports:package:flutter_webview_kit/src/js_add_check_run/webview_controller_add_check_run_js.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:flutter_webview_kit/flutter_webview_kit.dartthat imports:package:flutter_webview_kit/src/web_error_or_reshow/webview_controller_web_error_reshow_extension.dartthat imports:package:flutter_webview_kit/src/js_add_check_run/webview_controller_add_check_run_js.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 42 issues. Showing the first 2:
INFO: Missing type annotation.
lib/flutter_webview_kit_adapt.dart:23:10
╷
23 │ static init() {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_webview_kit_adapt.dart
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
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.2 | 6.3.2 | |
webview_flutter |
^4.1.0 |
4.13.1 | 4.13.1 |
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.17.0 | 1.18.1 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
url_launcher_android |
- | 6.3.28 | 6.3.28 | |
url_launcher_ios |
- | 6.4.0 | 6.4.0 | |
url_launcher_linux |
- | 3.2.2 | 3.2.2 | |
url_launcher_macos |
- | 3.2.5 | 3.2.5 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.2 | 2.4.2 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter_android |
- | 4.10.11 | 4.10.11 | |
webview_flutter_platform_interface |
- | 2.14.0 | 2.14.0 | |
webview_flutter_wkwebview |
- | 3.23.6 | 3.23.6 |
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.23.9, Flutter 3.38.9, Dart 3.10.8.
Check the analysis log for details.