Skip to main content

flutter_xpay 0.1.0 copy "flutter_xpay: ^0.1.0" to clipboard
flutter_xpay: ^0.1.0 copied to clipboard

Accept XPay (xpay.app) payments in Flutter: cards, Valu, Fawry and more through XPay Hosted Checkout.

150/ 160
pub points
--
downloads

We analyzed this package in the last hour, and awarded it 150 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/ahmedhosni803/flutter_xpay 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/ahmedhosni803/flutter_xpay was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: GPL-3.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

47 out of 88 API elements (53.4 %) have documentation comments.

Some symbols that are missing documentation: flutter_xpay.XPay, flutter_xpay.XPay.instance, flutter_xpay.XPayAdjustableQuantity, flutter_xpay.XPayAdjustableQuantity.XPayAdjustableQuantity.new, flutter_xpay.XPayAdjustableQuantity.enabled.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:flutter_xpay/flutter_xpay.dart that imports:
  • package:flutter_xpay/src/xpay_checkout_page.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:flutter_xpay/flutter_xpay.dart that imports:
  • package:flutter_xpay/src/xpay_checkout_page.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:flutter_xpay/flutter_xpay.dart that imports:
  • package:flutter_xpay/src/xpay_checkout_page.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.

lib/flutter_xpay.dart:5:1

  ╷
5 │ import 'package:flutter/material.dart';
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_xpay.dart

INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.

lib/src/xpay_checkout_page.dart:2:1

  ╷
2 │ import 'package:flutter/material.dart';
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/xpay_checkout_page.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
http ^1.2.0 1.6.0 1.6.0
webview_flutter ^4.10.0 4.14.1 4.14.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
listen - 1.0.1 1.0.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
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
vector_math - 2.4.4 2.4.4
web - 1.1.2 1.1.2
webview_flutter_android - 4.14.1 4.14.1
webview_flutter_platform_interface - 2.15.1 2.15.1
webview_flutter_wkwebview - 3.27.2 3.27.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 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.50.0, Dart 3.14.0.

Check the analysis log for details.

0
likes
150
points
--
downloads

Documentation

API reference

Publisher

unverified uploader

Accept XPay (xpay.app) payments in Flutter: cards, Valu, Fawry and more through XPay Hosted Checkout.

Repository (GitHub)

Topics

#payments #xpay #payment-gateway #egypt

License

GPL-3.0 (license)

Dependencies

flutter, http, webview_flutter

More

Packages that depend on flutter_xpay