uni_payments 0.0.2 icon indicating copy to clipboard operation
uni_payments: ^0.0.2 copied to clipboard

A Flutter plugin for making payments via razorpay, paystack, paytm and flutterwave Payment Gateway for accepting online payments in Flutter app.

13
likes
80/ 130
pub points
72%
popularity

We analyzed this package 36 hours ago, and awarded it 80 pub points (of a possible 130):

icon indicating section status
Follow Dart file conventions
20 / 20icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 20 out of 70 API elements (28.6 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:uni_payments/uni_payments.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:uni_payments/uni_payments.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:uni_payments/uni_payments.dart that declares support for platforms: Android, iOS, Web.

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.dart that imports:
  • package:uni_payments/methods/flutterwave_service.dart that imports:
  • package:flutterwave/core/flutterwave.dart that imports:
  • package:flutterwave/widgets/home/flutterwave_payment.dart that imports:
  • package:flutterwave/widgets/mobile_money/pay_with_mobile_money.dart that imports:
  • package:flutterwave/widgets/card_payment/authorization_webview.dart that imports:
  • package:webview_flutter/webview_flutter.dart that imports:
  • package:webview_flutter/src/webview.dart that imports:
  • package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart that declares support for platforms: iOS.
Package does not support platform `iOS`.

Because:

  • package:uni_payments/uni_payments.dart that imports:
  • package:uni_payments/methods/flutterwave_service.dart that imports:
  • package:flutterwave/core/flutterwave.dart that imports:
  • package:flutterwave/widgets/home/flutterwave_payment.dart that imports:
  • package:flutterwave/widgets/mobile_money/pay_with_mobile_money.dart that imports:
  • package:flutterwave/widgets/card_payment/authorization_webview.dart that imports:
  • package:webview_flutter/webview_flutter.dart that imports:
  • package:webview_flutter/src/webview.dart that imports:
  • package:webview_flutter_android/webview_android_cookie_manager.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:uni_payments/uni_payments.dart that imports:
  • package:uni_payments/methods/razorpay_service.dart that imports:
  • package:razorpay_flutter/razorpay_flutter.dart that declares support for platforms: Android, iOS.
icon indicating section status
Pass static analysis
0 / 30icon to trigger folding of the section

0/30 points: code has no errors, warnings, lints, or formatting issues

Found 29 issues. Showing the first 2:

ERROR: The name 'PaymentItem' isn't a type so it can't be used as a type argument.

lib/methods/googlepay_service.dart:44:10

   ╷
44 │     List<PaymentItem> _paymentItems = [
   │          ^^^^^^^^^^^
   ╵

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

ERROR: The method 'PaymentItem' isn't defined for the type 'GooglePayService'.

lib/methods/googlepay_service.dart:45:7

   ╷
45 │       PaymentItem(
   │       ^^^^^^^^^^^
   ╵

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

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
flutter_paystackany1.0.5+11.0.5+1
flutter_web_pluginsflutter0.0.00.0.0
flutterwaveany1.0.11.0.1
httpany0.13.40.13.4
payany0.0.11.0.9
paytmany3.0.13.0.1
razorpay_flutterany1.3.01.3.0
Transitive dependencies
PackageConstraintCompatibleLatest
async-2.9.02.9.0
characters-1.2.01.2.1
clock-1.1.01.1.0
collection-1.16.01.16.0
eventify-1.0.01.0.0
fluttertoast-8.0.98.0.9
http_parser-4.0.14.0.1
intl-0.17.00.17.0
js-0.6.40.6.4
material_color_utilities-0.1.40.1.5
meta-1.7.01.8.0
path-1.8.21.8.2
plugin_platform_interface-2.1.22.1.2
sky_engine-0.0.990.0.99
source_span-1.9.01.9.0
string_scanner-1.1.11.1.1
term_glyph-1.2.01.2.0
tripledes_nullsafety-1.0.31.0.3
typed_data-1.3.11.3.1
vector_math-2.1.22.1.2
webview_flutter-2.8.03.0.4
webview_flutter_android-2.8.92.8.9
webview_flutter_platform_interface-1.9.01.9.0
webview_flutter_wkwebview-2.8.02.8.0

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

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

0/20 points: Null safety support has one or more issues.

Package is not null safe

Because:

  • uni_payments that depends on:
  • pay that doesn't opt in to null safety
For more information

Try running dart pub outdated --mode=null-safety. Be sure to read the migration guide.

Analysed with Pana 0.21.12, Flutter 3.0.0, Dart 2.17.0.

13
likes
80
pub points
72%
popularity

Publisher

unverified uploader

A Flutter plugin for making payments via razorpay, paystack, paytm and flutterwave Payment Gateway for accepting online payments in Flutter app.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_paystack, flutter_web_plugins, flutterwave, http, pay, paytm, razorpay_flutter

More

Packages that depend on uni_payments