mg_webview_flutter 3.0.5
mg_webview_flutter: ^3.0.5 copied to clipboard
A Flutter plugin that provides a WebView widget on Android and iOS.
We analyzed this package 21 hours ago, and awarded it 115 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: mg_webview_flutter, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Repository has no matching pubspec.yaml with name: mg_webview_flutter.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("3.0.5").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
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
174 out of 180 API elements (96.7 %) have documentation comments.
Some symbols that are missing documentation: platform_interface.WebViewPlatform.WebViewPlatform.new, platform_interface.WebViewPlatformCallbacksHandler.WebViewPlatformCallbacksHandler.new, webview_flutter, webview_flutter.AndroidWebView.AndroidWebView.new, webview_flutter.CupertinoWebView.CupertinoWebView.new.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:mg_webview_flutter/platform_interface.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:mg_webview_flutter/platform_interface.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:mg_webview_flutter/platform_interface.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:mg_webview_flutter/platform_interface.dartthat declares support for platforms:Android,iOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:mg_webview_flutter/webview_flutter.dartthat imports:package:mg_webview_flutter/src/webview.dartthat imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dartthat declares support for platforms:iOS.
Package does not support platform `iOS`.
Because:
package:mg_webview_flutter/webview_flutter.dartthat imports:package:mg_webview_flutter/src/webview.dartthat imports:package:mg_webview_flutter_android/webview_surface_android.dartthat declares support for platforms:Android.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:mg_webview_flutter/webview_flutter.dartthat imports:package:mg_webview_flutter/src/webview.dartthat 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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
WARNING: The operand can't be 'null', so the condition is always 'true'.
lib/src/webview.dart:99:31
╷
99 │ }) : assert(javascriptMode != null),
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/webview.dart
WARNING: The operand can't be 'null', so the condition is always 'true'.
lib/src/webview.dart:100:43
╷
100 │ assert(initialMediaPlaybackPolicy != null),
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/webview.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
mg_webview_flutter_android |
^2.9.7 |
2.9.7 | 2.9.7 | |
webview_flutter_platform_interface |
^1.8.0 |
1.9.5 | 2.14.0 | |
webview_flutter_wkwebview |
^2.7.0 |
2.9.5 | 3.23.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.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.8.0` on webview_flutter_platform_interface does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions webview_flutter_platform_interface to update the constraint.
The constraint `^2.7.0` on webview_flutter_wkwebview does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions webview_flutter_wkwebview 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.22.24, Flutter 3.35.5, Dart 3.9.2.
Check the analysis log for details.