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 24 days ago, and awarded it 115 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.3").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
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.dartthat declares support for platforms:Android.
Package does not support platform `Windows`.
Because:
package:multi_payment_gateway/billing.dartthat declares support for platforms:Android.
Package does not support platform `Linux`.
Because:
package:multi_payment_gateway/billing.dartthat declares support for platforms:Android.
Package does not support platform `macOS`.
Because:
package:multi_payment_gateway/billing.dartthat declares support for platforms:Android.
Package does not support platform `Web`.
Because:
package:multi_payment_gateway/billing.dartthat declares support for platforms:Android.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 34 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/ephemeral_key_repo.dart:5:54
╷
5 │ static Future<String?> createAndHandleEphemralKey(setupPayment, String? ephemeralKey) async {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ephemeral_key_repo.dart
INFO: Missing type annotation.
lib/src/payment_intent_repo.dart:5:52
╷
5 │ static Future<String?> initIntentAndHandleSecret(setupPayment) async {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/payment_intent_repo.dart
0/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.9.0 | 5.9.0 | |
flutter_paypal_payment |
^1.0.8 |
1.0.8 | 1.0.8 | |
flutter_stripe |
^11.5.0 |
11.5.0 | 12.1.1 | |
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.
The constraint `^11.5.0` on flutter_stripe does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions flutter_stripe to update the constraint.
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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.