multi_payment_gateway 0.0.3
multi_payment_gateway: ^0.0.3 copied to clipboard
A Flutter package to simplify integrating multiple payment gateways like Paymob, PayPal, and Stripe.
We analyzed this package 3 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
-
pubspec.yaml
doesn't have ahomepage
entry. -
pubspec.yaml
doesn't have arepository
entry.
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
.
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
.
10/10 points: Package has an example
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
.
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.
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 .
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
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
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.