multi_payment_gateway 0.0.3 copy "multi_payment_gateway: ^0.0.3" to clipboard
multi_payment_gateway: ^0.0.3 copied to clipboard

PlatformAndroid

A Flutter package to simplify integrating multiple payment gateways like Paymob, PayPal, and Stripe.

18
likes
130/ 160
pub points
72
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

5 out of 129 API elements (3.9 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: billing, billing.Billing, billing.Billing.Billing.new, billing.Billing.apartment, billing.Billing.building.

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 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:multi_payment_gateway/billing.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:multi_payment_gateway/billing.dart that declares support for platforms: Android.
Package does not support platform `Linux`.

Because:

  • package:multi_payment_gateway/billing.dart that declares support for platforms: Android.
Package does not support platform `macOS`.

Because:

  • package:multi_payment_gateway/billing.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:multi_payment_gateway/billing.dart that declares support for platforms: Android.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:multi_payment_gateway/services/customer_service.dart that imports:
  • package:multi_payment_gateway/src/failure.dart that imports:
  • package:flutter_stripe/flutter_stripe.dart that imports:
  • package:flutter_stripe/src/widgets/platform_pay_button.dart that imports:
  • package:flutter_stripe/src/widgets/google_pay_button.dart that imports:
  • package:stripe_platform_interface/stripe_platform_interface.dart that imports:
  • package:stripe_platform_interface/src/stripe_platform_interface.dart that imports:
  • package:stripe_platform_interface/src/method_channel_stripe.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

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

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

Found 32 issues. Showing the first 2:

/tmp/pana_WTXFMF/bin/setup.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_WTXFMF/lib/billing.dart doesn't match the Dart formatter.

To format your files run: dart format .

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
dartz ^0.10.1 0.10.1 0.10.1
dio ^5.8.0+1 5.8.0+1 5.8.0+1
flutter_paypal_payment ^1.0.8 1.0.8 1.0.8
flutter_stripe ^11.5.0 11.5.0 11.5.0
path ^1.9.0 1.9.1 1.9.1
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
webview_flutter ^4.2.2 4.13.0 4.13.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.1 2.1.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
freezed_annotation - 2.4.4 3.0.0
http_parser - 4.1.2 4.1.2
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
stripe_android - 11.5.0 11.5.0
stripe_ios - 11.5.0 11.5.0
stripe_platform_interface - 11.5.0 11.5.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.2.0
web - 1.1.1 1.1.1
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

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.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
18
likes
130
points
72
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package to simplify integrating multiple payment gateways like Paymob, PayPal, and Stripe.

Documentation

API reference

License

MIT (license)

Dependencies

dartz, dio, flutter, flutter_paypal_payment, flutter_stripe, path, plugin_platform_interface, webview_flutter

More

Packages that depend on multi_payment_gateway