xpay_element_flutter 5.0.2
xpay_element_flutter: ^5.0.2 copied to clipboard
XPay Element for Flutter enables direct in-app payments, allowing seamless payment collection within Flutter applications with extensive customization options
We analyzed this package in the last hour, and awarded it 110 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/XStakCommerce/XPay-Element-Flutter-SDK 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
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
8 out of 70 API elements (11.4 %) 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: xpay_element_flutter, xpay_element_flutter.Calculator, xpay_element_flutter.Calculator.Calculator.new, xpay_element_flutter.CardType, xpay_element_flutter.PaymentResult.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:xpay_element_flutter/xpay_element_flutter.dartthat imports:package:xpay_element_flutter/src/_xpay_element_flutter_sdk.dartthat imports:package:saver_gallery/saver_gallery.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:xpay_element_flutter/xpay_element_flutter.dartthat imports:package:xpay_element_flutter/src/_xpay_element_flutter_sdk.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package does not support platform `macOS`.
Because:
package:xpay_element_flutter/xpay_element_flutter.dartthat imports:package:xpay_element_flutter/src/_xpay_element_flutter_sdk.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package does not support platform `Web`.
Because:
package:xpay_element_flutter/xpay_element_flutter.dartthat imports:package:xpay_element_flutter/src/_xpay_element_flutter_sdk.dartthat imports:package:saver_gallery/saver_gallery.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:xpay_element_flutter/xpay_element_flutter.dartthat imports:package:xpay_element_flutter/src/_xpay_element_flutter_sdk.dartthat imports:package:pay/pay.dartthat imports:package:pay_ios/pay_ios.dartthat declares support for platforms:iOS.
Package does not support platform `iOS`.
Because:
package:xpay_element_flutter/xpay_element_flutter.dartthat imports:package:xpay_element_flutter/src/_xpay_element_flutter_sdk.dartthat imports:package:pay/pay.dartthat imports:package:pay_android/pay_android.dartthat declares support for platforms:Android.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 30 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/_xpay_element.dart:489:7
╷
489 │ customerName, clientSecret, encryptionsKeys) async {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/_xpay_element.dart
INFO: Missing type annotation.
lib/src/_xpay_element.dart:489:21
╷
489 │ customerName, clientSecret, encryptionsKeys) async {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/_xpay_element.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
http |
^1.2.1 |
1.6.0 | 1.6.0 | |
pay |
^3.2.1 |
3.3.0 | 3.3.0 | |
permission_handler |
^11.0.0 |
11.4.0 | 12.0.1 | |
saver_gallery |
^4.1.0 |
4.1.1 | 4.1.1 | |
webview_flutter |
^4.10.0 |
4.13.1 | 4.13.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 1.0.3 | 1.0.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.2 | 0.20.2 | |
jni |
- | 1.0.0 | 1.0.0 | |
jni_flutter |
- | 1.0.1 | 1.0.1 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
mime |
- | 2.0.0 | 2.0.0 | |
native_toolchain_c |
- | 0.17.6 | 0.18.0 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
pay_android |
- | 3.2.0 | 3.2.0 | |
pay_ios |
- | 1.1.0 | 1.1.0 | |
pay_platform_interface |
- | 2.0.0 | 2.0.0 | |
permission_handler_android |
- | 12.1.0 | 13.0.1 | |
permission_handler_apple |
- | 9.4.7 | 9.4.7 | |
permission_handler_html |
- | 0.1.3+5 | 0.1.3+5 | |
permission_handler_platform_interface |
- | 4.3.0 | 4.3.0 | |
permission_handler_windows |
- | 0.2.1 | 0.2.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
record_use |
- | 0.6.0 | 0.6.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.3 | 4.5.3 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter_android |
- | 4.12.0 | 4.12.0 | |
webview_flutter_platform_interface |
- | 2.15.1 | 2.15.1 | |
webview_flutter_wkwebview |
- | 3.25.1 | 3.25.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^11.0.0` on permission_handler does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions permission_handler 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.23.12, Flutter 3.41.9, Dart 3.11.5.
Check the analysis log for details.