payment_dialog 1.0.5 
payment_dialog: ^1.0.5 copied to clipboard
A customizable Flutter payment dialog with WebView for handling online payments.
We analyzed this package 6 days ago, and awarded it 140 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.
 0/10 points: 20% or more of the public API has dartdoc comments
0 out of 2 API elements (0.0 %) 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: payment_dialog, payment_dialog.showPaymentDialog.
 10/10 points: Package has an example and has no issues with screenshots
 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- 
✓ Android
 - 
✓ iOS
 - 
✓ Windows
 - 
✓ Linux
 - 
✓ macOS
 - 
✓ Web
 
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Linux`.
Because:
package:payment_dialog/payment_dialog.dartthat imports:package:payment_dialog/src/payment_dialog_widget.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
Package not compatible with platform Web
Because:
package:payment_dialog/payment_dialog.dartthat imports:package:payment_dialog/src/payment_dialog_widget.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat imports:package:flutter_inappwebview/src/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/webview_environment.dartthat imports:package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dartthat imports:package:flutter_inappwebview_platform_interface/src/main.dartthat imports:package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dartthat imports:dart:io
 0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:payment_dialog/payment_dialog.dartthat imports:package:payment_dialog/src/payment_dialog_widget.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat imports:package:flutter_inappwebview/src/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/webview_environment.dartthat imports:package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dartthat imports:package:flutter_inappwebview_platform_interface/src/main.dartthat imports:package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.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.dev/web/wasm for details.
 40/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
INFO: 'onLoadError' is deprecated and shouldn't be used. Use onReceivedError instead.
lib/src/payment_dialog_widget.dart:175:11
    ╷
175 │           onLoadError: (controller, url, code, message) {
    │           ^^^^^^^^^^^
    ╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/payment_dialog_widget.dart
INFO: 'onLoadHttpError' is deprecated and shouldn't be used. Use onReceivedHttpError instead.
lib/src/payment_dialog_widget.dart:178:11
    ╷
178 │           onLoadHttpError: (controller, url, code, message) {
    │           ^^^^^^^^^^^^^^^
    ╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/payment_dialog_widget.dart
 10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes | 
|---|---|---|---|---|
flutter_inappwebview | 
^6.1.5 | 
6.1.5 | 6.1.5 | |
motion_toast | 
^2.14.0 | 
2.14.0 | 2.14.0 | 
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes | 
|---|---|---|---|---|
characters | 
- | 1.4.0 | 1.4.1 | |
collection | 
- | 1.19.1 | 1.19.1 | |
flutter_inappwebview_android | 
- | 1.1.3 | 1.1.3 | |
flutter_inappwebview_internal_annotations | 
- | 1.2.0 | 1.2.0 | |
flutter_inappwebview_ios | 
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_macos | 
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_platform_interface | 
- | 1.3.0+1 | 1.3.0+1 | |
flutter_inappwebview_web | 
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_windows | 
- | 0.6.0 | 0.6.0 | |
material_color_utilities | 
- | 0.11.1 | 0.13.0 | |
meta | 
- | 1.16.0 | 1.17.0 | |
plugin_platform_interface | 
- | 2.1.8 | 2.1.8 | |
vector_math | 
- | 2.2.0 | 2.2.0 | |
web | 
- | 1.1.1 | 1.1.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.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.
