xpay_element_flutter_stage 3.6.0
xpay_element_flutter_stage: ^3.6.0 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 7 days ago, and awarded it 120 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
6 out of 53 API elements (11.3 %) 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_dev
, xpay_element_flutter_stage
, xpay_element_flutter_stage.Calculator
, xpay_element_flutter_stage.Calculator.Calculator.new
.
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_stage/xpay_element_flutter_stage.dart
that imports:package:xpay_element_flutter_stage/src/_xpay_element_flutter_sdk.dart
that imports:package:pay/pay.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:xpay_element_flutter_stage/xpay_element_flutter_stage.dart
that imports:package:xpay_element_flutter_stage/src/_xpay_element_flutter_sdk.dart
that imports:package:pay/pay.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:xpay_element_flutter_stage/xpay_element_flutter_stage.dart
that imports:package:xpay_element_flutter_stage/src/_xpay_element_flutter_sdk.dart
that imports:package:pay/pay.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:xpay_element_flutter_stage/xpay_element_flutter_stage.dart
that imports:package:xpay_element_flutter_stage/src/_xpay_element_flutter_sdk.dart
that imports:package:pay/pay.dart
that 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_stage/xpay_element_flutter_stage.dart
that imports:package:xpay_element_flutter_stage/src/_xpay_element_flutter_sdk.dart
that imports:package:pay/pay.dart
that imports:package:pay_ios/pay_ios.dart
that declares support for platforms:iOS
.
Package does not support platform `iOS`.
Because:
package:xpay_element_flutter_stage/xpay_element_flutter_stage.dart
that imports:package:xpay_element_flutter_stage/src/_xpay_element_flutter_sdk.dart
that imports:package:pay/pay.dart
that imports:package:pay_android/pay_android.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
This package is compatible with runtime wasm
, and will be rewarded additional 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 4 issues. Showing the first 2:
/tmp/pana_UOUILK/lib/src/_xpay_element_controller.dart doesn't match the Dart formatter.
To format your files run: dart format .
/tmp/pana_UOUILK/lib/src/_xpay_element_easypaisa.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
crypto |
^3.0.3 |
3.0.6 | 3.0.6 | |
http |
^1.2.1 |
1.4.0 | 1.4.0 | |
pay |
^3.2.1 |
3.2.1 | 3.2.1 | |
webview_flutter |
^4.10.0 |
4.13.0 | 4.13.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.2 | 0.20.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pay_android |
- | 3.1.1 | 3.1.1 | |
pay_ios |
- | 1.1.0 | 1.1.0 | |
pay_platform_interface |
- | 2.0.0 | 2.0.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter_android |
- | 4.8.2 | 4.8.2 | |
webview_flutter_platform_interface |
- | 2.13.1 | 2.13.1 | |
webview_flutter_wkwebview |
- | 3.22.1 | 3.22.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
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.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.