any_payment_webview 1.0.0
any_payment_webview: ^1.0.0 copied to clipboard
A Flutter package that allows displaying any payment URL in a WebView with callback on URL change and success/failure detection.
We analyzed this package 19 hours ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/alaaanabil/any_payment_webview was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/alaaanabil/any_payment_webview was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/alaaanabil/any_payment_webview/issues 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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 11 API elements (18.2 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: any_payment_webview, any_payment_webview.AnyPaymentWebView, any_payment_webview.AnyPaymentWebView.AnyPaymentWebView.new, any_payment_webview.AnyPaymentWebView.failKeyword, any_payment_webview.AnyPaymentWebView.onPaymentResult.
10/10 points: Package has 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:any_payment_webview/any_payment_webview.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:any_payment_webview/any_payment_webview.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:any_payment_webview/any_payment_webview.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
INFO: Parameter 'key' could be a super parameter.
lib/any_payment_webview.dart:16:9
╷
16 │ const AnyPaymentWebView({
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/any_payment_webview.dart
INFO: Don't use 'BuildContext's across async gaps.
lib/any_payment_webview.dart:72:29
╷
72 │ Navigator.pop(context);
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/any_payment_webview.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
webview_flutter |
^4.11.0 |
4.14.1 | 4.14.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.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 | |
vector_math |
- | 2.4.3 | 2.4.3 | |
webview_flutter_android |
- | 4.14.1 | 4.14.1 | |
webview_flutter_platform_interface |
- | 2.15.1 | 2.15.1 | |
webview_flutter_wkwebview |
- | 3.26.1 | 3.26.1 |
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.19, Flutter 3.47.4, Dart 3.13.3.
Check the analysis log for details.