flutter_paystack_payment 0.1.2+6 icon indicating copy to clipboard operation
flutter_paystack_payment: ^0.1.2+6 copied to clipboard

A plugin for Payment through Paystack made By Oreofe Solarin.

14
likes
120/ 140
pub points
77%
popularity

We analyzed this package 16 hours ago, and awarded it 120 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
30 / 30icon 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

10/10 points: Use an OSI-approved license

Detected license: MIT.

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

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

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ Web

These platforms are not supported:

Package does not support platform macOS.

Because:

  • package:flutter_paystack_payment/flutter_paystack_payment.dart that declares support for platforms: Android, iOS, Windows, Linux, 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:flutter_paystack_payment/flutter_paystack_payment.dart that imports:
  • package:flutter_paystack_payment/src/models/checkout_response.dart that imports:
  • package:flutter_paystack_payment/src/common/paystack.dart that imports:
  • package:flutter_paystack_payment/src/ui/checkout/checkout_widget.dart that imports:
  • package:flutter_paystack_payment/src/ui/checkout/card_checkout.dart that imports:
  • package:flutter_paystack_payment/src/transaction/card_transaction_manager.dart that imports:
  • package:flutter_paystack_payment/src/transaction/base_transaction_manager.dart that imports:
  • package:flutter_paystack_payment/src/ui/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:flutter_paystack_payment/flutter_paystack_payment.dart that imports:
  • package:flutter_paystack_payment/src/models/checkout_response.dart that imports:
  • package:flutter_paystack_payment/src/common/paystack.dart that imports:
  • package:flutter_paystack_payment/src/ui/checkout/checkout_widget.dart that imports:
  • package:flutter_paystack_payment/src/ui/checkout/card_checkout.dart that imports:
  • package:flutter_paystack_payment/src/transaction/card_transaction_manager.dart that imports:
  • package:flutter_paystack_payment/src/transaction/base_transaction_manager.dart that imports:
  • package:flutter_paystack_payment/src/ui/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_surface_android.dart that declares support for platforms: Android.

Package does not support platform Windows.

Because:

  • package:flutter_paystack_payment/flutter_paystack_payment.dart that imports:
  • package:flutter_paystack_payment/src/models/checkout_response.dart that imports:
  • package:flutter_paystack_payment/src/common/paystack.dart that imports:
  • package:flutter_paystack_payment/src/ui/checkout/checkout_widget.dart that imports:
  • package:flutter_paystack_payment/src/ui/checkout/card_checkout.dart that imports:
  • package:flutter_paystack_payment/src/ui/input/card_input.dart that imports:
  • package:flutter_paystack_payment/src/common/scan_util.dart that imports:
  • package:credit_card_scanner/credit_card_scanner.dart that declares support for platforms: Android, iOS.

Package does not support platform Linux.

Because:

  • package:flutter_paystack_payment/flutter_paystack_payment.dart that imports:
  • package:flutter_paystack_payment/src/models/checkout_response.dart that imports:
  • package:flutter_paystack_payment/src/common/paystack.dart that imports:
  • package:flutter_paystack_payment/src/ui/checkout/checkout_widget.dart that imports:
  • package:flutter_paystack_payment/src/ui/checkout/card_checkout.dart that imports:
  • package:flutter_paystack_payment/src/ui/input/card_input.dart that imports:
  • package:flutter_paystack_payment/src/common/scan_util.dart that imports:
  • package:credit_card_scanner/credit_card_scanner.dart that declares support for platforms: Android, iOS.

Package does not support platform Web.

Because:

  • package:flutter_paystack_payment/flutter_paystack_payment.dart that imports:
  • package:flutter_paystack_payment/src/models/checkout_response.dart that imports:
  • package:flutter_paystack_payment/src/common/paystack.dart that imports:
  • package:flutter_paystack_payment/src/ui/checkout/checkout_widget.dart that imports:
  • package:flutter_paystack_payment/src/ui/checkout/card_checkout.dart that imports:
  • package:flutter_paystack_payment/src/ui/input/card_input.dart that imports:
  • package:flutter_paystack_payment/src/common/scan_util.dart that imports:
  • package:credit_card_scanner/credit_card_scanner.dart that declares support for platforms: Android, iOS.
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

Found 5 issues. Showing the first 2:

lib/src/common/card_utils.dart doesn't match the Dart formatter.

To format your files run: flutter format .

lib/src/common/paystack.dart doesn't match the Dart formatter.

To format your files run: flutter format .

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

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

PackageConstraintCompatibleLatest
async^2.8.22.10.02.10.0
basic_utils^5.3.05.4.25.4.2
credit_card_scanner^1.0.51.0.51.0.5
device_info_plus^4.0.04.1.38.0.0
flutterflutter0.0.00.0.0
http^0.13.40.13.50.13.5
intl^0.17.00.17.00.17.0
meta^1.7.01.8.01.8.0
package_info_plus^1.4.21.4.3+13.0.2
platform_info^3.2.03.2.03.2.0
pointycastle^3.6.03.6.23.6.2
universal_html^2.0.82.0.82.0.8
webview_flutter^3.0.43.0.43.0.4
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.2.11.2.1
charcode-1.3.11.3.1
clock-1.1.11.1.1
collection-1.16.01.17.0
convert-3.1.13.1.1
crypto-3.0.23.0.2
csslib-0.17.20.17.2
device_info_plus_linux-3.0.05.0.0
device_info_plus_macos-3.0.05.0.0
device_info_plus_platform_interface-3.0.07.0.0
device_info_plus_web-3.0.05.0.0
device_info_plus_windows-4.1.06.0.0
ffi-2.0.12.0.1
file-6.1.46.1.4
flutter_web_plugins-0.0.00.0.0
html-0.15.10.15.1
http_parser-4.0.24.0.2
js-0.6.40.6.5
json_annotation-4.7.04.7.0
logging-1.1.01.1.0
material_color_utilities-0.1.50.2.0
package_info_plus_linux-1.0.52.0.0
package_info_plus_macos-1.3.02.0.0
package_info_plus_platform_interface-1.0.22.0.1
package_info_plus_web-1.0.62.0.0
package_info_plus_windows-2.1.03.0.0
path-1.8.31.8.3
plugin_platform_interface-2.1.32.1.3
sky_engine-0.0.990.0.99
source_span-1.9.11.9.1
string_scanner-1.2.01.2.0
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1
universal_io-2.0.42.0.4
vector_math-2.1.22.1.4
webview_flutter_android-2.10.42.10.4
webview_flutter_platform_interface-1.9.51.9.5
webview_flutter_wkwebview-2.9.52.9.5
win32-3.1.23.1.2

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

The constraint ^4.0.0 on device_info_plus does not support the stable version 5.0.0.

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

The constraint ^1.4.2 on package_info_plus does not support the stable version 2.0.0.

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

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

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

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.21, Flutter 3.3.9, Dart 2.18.5.