uni_pay 5.1.1
uni_pay: ^5.1.1 copied to clipboard
A comprehensive library for seamless online payments, integrating Moyasar (Card & Apple pay), Tamara, and Tabby payment gateways.
We analyzed this package 12 days ago, and awarded it 150 pub points (of a possible 160):
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.
10/10 points: 20% or more of the public API has dartdoc comments
220 out of 478 API elements (46.0 %) have documentation comments.
Some symbols that are missing documentation: uni_pay.ConsumerModel, uni_pay.ConsumerModel.ConsumerModel.fromJson, uni_pay.ConsumerModel.ConsumerModel.new, uni_pay.ConsumerModel.email, uni_pay.ConsumerModel.firstName.
10/10 points: Package has an example
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_pay/uni_pay.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:uni_pay/uni_pay.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:uni_pay/uni_pay.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:uni_pay/uni_pay.dartthat 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_pay/uni_pay.dartthat imports:package:uni_pay/src/modules/global/widgets/coupon_field.dartthat imports:package:uni_pay/src/modules/global/widgets/text_field.dartthat imports:package:uni_pay/src/views/design_system.dartthat imports:package:uni_pay/src/utils/extension.dartthat imports:package:uni_pay/src/utils/uni_enums.dartthat imports:package:uni_pay/src/core/keys/api_keys.dartthat imports:package:moyasar/moyasar.dartthat declares support for platforms:iOS.
Package does not support platform `iOS`.
Because:
package:uni_pay/uni_pay.dartthat imports:package:uni_pay/src/modules/global/widgets/coupon_field.dartthat imports:package:uni_pay/src/modules/global/widgets/text_field.dartthat imports:package:uni_pay/src/views/design_system.dartthat imports:package:uni_pay/src/utils/extension.dartthat imports:package:uni_pay/src/utils/uni_enums.dartthat imports:package:uni_pay/src/core/keys/api_keys.dartthat imports:package:moyasar/moyasar.dartthat imports:package:moyasar/src/widgets/apple_pay.dartthat imports:package:pay/pay.dartthat imports:package:pay_android/pay_android.dartthat declares support for platforms:Android.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 13 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/constant/uni_text.dart:85:21
╷
85 │ static String sar(amount) => isEnglish ? " SAR $amount " : " $amount ر.س ";
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/constant/uni_text.dart
INFO: Missing type annotation.
lib/src/core/controllers/uni_pay_controller.dart:149:10
╷
149 │ static toggleCouponFieldStatus(bool isDefaultOpn) {
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/controllers/uni_pay_controller.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_inappwebview |
^6.1.5 |
6.1.5 | 6.1.5 | |
http |
^1.2.0 |
1.6.0 | 1.6.0 | |
lottie |
^3.1.2 |
3.3.2 | 3.3.2 | |
moyasar |
^2.1.0 |
2.1.3 | 2.1.3 | |
tabby_flutter_inapp_sdk_fork |
^1.11.2 |
1.11.2 | 1.11.2 |
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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.