uni_payments 0.0.10
uni_payments: ^0.0.10 copied to clipboard
Unified Flutter API over Razorpay, Stripe, PayPal, Paystack, Flutterwave, Paytm, Cashfree, PhonePe, PayU, Square, Airwallex, Google Pay and Apple Pay.
We analyzed this package 27 hours ago, and awarded it 150 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.
10/10 points: 20% or more of the public API has dartdoc comments
56 out of 56 API elements (100.0 %) have documentation comments.
10/10 points: Package has 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:uni_payments/uni_payments.dartthat imports:package:uni_payments/src/uni_payments.dartthat imports:package:uni_payments/src/gateways/stripe_gateway.dartthat imports:package:flutter_stripe/flutter_stripe.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:uni_payments/uni_payments.dartthat imports:package:uni_payments/src/uni_payments.dartthat imports:package:uni_payments/src/gateways/stripe_gateway.dartthat imports:package:flutter_stripe/flutter_stripe.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:uni_payments/uni_payments.dartthat imports:package:uni_payments/src/uni_payments.dartthat imports:package:uni_payments/src/gateways/stripe_gateway.dartthat imports:package:flutter_stripe/flutter_stripe.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Web`.
Because:
package:uni_payments/uni_payments.dartthat imports:package:uni_payments/src/uni_payments.dartthat imports:package:uni_payments/src/gateways/square_gateway.dartthat imports:package:square_in_app_payments/models.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:uni_payments/uni_payments.dartthat imports:package:uni_payments/src/uni_payments.dartthat imports:package:uni_payments/src/gateways/google_pay_gateway.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:uni_payments/uni_payments.dartthat imports:package:uni_payments/src/uni_payments.dartthat imports:package:uni_payments/src/gateways/google_pay_gateway.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 7 issues. Showing the first 2:
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/gateways/apple_pay_gateway.dart:1:1
╷
1 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/gateways/apple_pay_gateway.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/gateways/flutterwave_gateway.dart:1:1
╷
1 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/gateways/flutterwave_gateway.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
airwallex_payment_flutter |
^0.4.0 |
0.4.0 | 0.4.0 | |
braintree_flutter_plus |
^7.0.1 |
7.1.0 | 8.0.0 | |
flutter_cashfree_pg_sdk |
^2.4.0+52 |
2.7.0+55 | 2.7.0+55 | |
flutter_paystack_max |
^1.0.6 |
1.0.6 | 1.0.6 | |
flutter_stripe |
^14.0.0 |
14.2.0 | 15.0.0 | |
flutterwave_standard |
^1.1.0 |
1.1.0 | 1.1.0 | |
pay |
^3.3.0 |
3.3.0 | 4.0.0 | |
paytmpayments_allinonesdk |
^1.0.4 |
1.0.5 | 1.0.5 | |
payu_checkoutpro_flutter |
^1.4.5 |
1.5.0 | 1.5.0 | |
phonepe_payment_sdk |
^3.0.2 |
3.0.2 | 3.0.2 | |
razorpay_flutter |
^1.4.5 |
1.4.7 | 1.4.7 | |
square_in_app_payments |
^2.0.0 |
2.1.2 | 2.1.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
built_collection |
- | 5.1.2 | 6.0.0 | |
built_value |
- | 8.13.1 | 8.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
eventify |
- | 1.0.1 | 1.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_inappwebview |
- | 6.1.5 | 6.1.5 | |
flutter_inappwebview_android |
- | 1.1.3 | 1.1.3 | |
flutter_inappwebview_internal_annotations |
- | 1.3.0 | 1.3.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 | |
fluttertoast |
- | 8.2.14 | 10.0.3 | |
freezed_annotation |
- | 3.1.0 | 3.1.0 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.3 | 0.20.3 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
json_annotation |
- | 4.12.0 | 4.12.0 | |
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 | |
pay_android |
- | 3.2.0 | 4.0.0 | |
pay_ios |
- | 1.3.0 | 1.3.0 | |
pay_platform_interface |
- | 2.0.0 | 2.0.0 | |
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 | |
stripe_android |
- | 14.2.0 | 15.0.0 | |
stripe_ios |
- | 14.2.0 | 15.0.0 | |
stripe_platform_interface |
- | 14.2.0 | 15.0.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher |
- | 6.3.3 | 6.3.3 | |
url_launcher_android |
- | 6.3.35 | 6.3.35 | |
url_launcher_ios |
- | 6.4.2 | 6.4.2 | |
url_launcher_linux |
- | 3.2.3 | 3.2.3 | |
url_launcher_macos |
- | 3.2.6 | 3.2.6 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.3 | 2.4.3 | |
url_launcher_windows |
- | 3.1.6 | 3.1.6 | |
vector_math |
- | 2.4.4 | 2.4.4 | |
web |
- | 1.1.2 | 1.1.2 | |
webview_flutter |
- | 4.14.1 | 4.14.1 | |
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 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^7.0.1` on braintree_flutter_plus does not support the stable version `8.0.0`, that was published 4 days ago.
When braintree_flutter_plus is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions braintree_flutter_plus to update the constraint.
The constraint `^14.0.0` on flutter_stripe does not support the stable version `15.0.0`, that was published 17 days ago.
When flutter_stripe is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions flutter_stripe 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.19, Flutter 3.50.0, Dart 3.14.0.
Check the analysis log for details.