uni_payments 0.0.5 copy "uni_payments: ^0.0.5" to clipboard
uni_payments: ^0.0.5 copied to clipboard

Uni Payments integrates various payment gateways for fast and easy transactions.

17
likes
80/ 160
pub points
41
downloads

We analyzed this package 2 days ago, and awarded it 80 pub points (of a possible 160):

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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: MIT.

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

23 out of 60 API elements (38.3 %) have documentation comments.

Some symbols that are missing documentation: flutter_wave_service, flutter_wave_service.FlutterWaveService, flutter_wave_service.FlutterWaveService.FlutterWaveService.new, flutter_wave_service.FlutterWaveService.openFlutterWave, googlepay_service.

Passed check 10/10 points: Package has an example

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

Passed check 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.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:uni_payments/uni_payments.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:uni_payments/uni_payments.dart that imports:
  • package:uni_payments/uni_payment_services.dart that imports:
  • package:uni_payments/methods/googlepay_service.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:uni_payments/uni_payments.dart that imports:
  • package:uni_payments/uni_payment_services.dart that imports:
  • package:uni_payments/methods/googlepay_service.dart that imports:
  • package:pay/pay.dart that imports:
  • package:pay_android/pay_android.dart that declares support for platforms: Android.

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

ERROR: The named parameter 'context' isn't defined.

lib/methods/flutter_wave_service.dart:28:9

   ╷
28 │         context: buildContext,
   │         ^^^^^^^
   ╵

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

ERROR: 1 positional argument expected by 'charge', but 0 found.

lib/methods/flutter_wave_service.dart:40:64

   ╷
40 │       final ChargeResponse response = await flutterwave.charge();
   │                                                                ^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
flutter_braintree ^4.0.0 4.0.0 4.0.0
flutter_paystack_max ^1.0.4 1.0.6 1.0.6
flutterwave_standard ^1.0.8 1.1.0 1.1.0
pay ^2.0.0 2.0.0 3.2.1
paytm_allinonesdk ^1.2.5 1.2.8 1.2.8
plugin_platform_interface ^2.1.8 2.1.8 2.1.8
razorpay_flutter ^1.3.7 1.4.0 1.4.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
eventify - 1.0.1 1.0.1
flutter_inappwebview - 6.1.5 6.1.5
flutter_inappwebview_android - 1.1.3 1.1.3
flutter_inappwebview_internal_annotations - 1.2.0 1.2.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.12 8.2.12
http - 1.4.0 1.4.0
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 - 2.0.0 3.1.1
pay_ios - 1.0.11 1.1.0
pay_platform_interface - 1.0.4 2.0.0
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
url_launcher - 6.3.1 6.3.1
url_launcher_android - 6.3.16 6.3.16
url_launcher_ios - 6.3.3 6.3.3
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.4 3.1.4
vector_math - 2.1.4 2.2.0
web - 1.1.1 1.1.1
webview_flutter - 4.13.0 4.13.0
webview_flutter_android - 4.7.0 4.7.0
webview_flutter_platform_interface - 2.13.1 2.13.1
webview_flutter_wkwebview - 3.22.0 3.22.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 `^2.0.0` on pay does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions pay to update the constraint.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/methods/flutter_wave_service.dart:28:9 - The named parameter 'context' isn't defined.
  • NOT_ENOUGH_POSITIONAL_ARGUMENTS - lib/methods/flutter_wave_service.dart:40:64 - 1 positional argument expected by 'charge', but 0 found.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
17
likes
80
points
41
downloads

Publisher

unverified uploader

Weekly Downloads

Uni Payments integrates various payment gateways for fast and easy transactions.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_braintree, flutter_paystack_max, flutter_web_plugins, flutterwave_standard, pay, paytm_allinonesdk, plugin_platform_interface, razorpay_flutter

More

Packages that depend on uni_payments