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 40 hours 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.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
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:uni_pay/src/modules/tamara/core/models/tamara_snippet.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat imports:package:flutter_inappwebview/src/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/webview_environment.dartthat imports:package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dartthat imports:package:flutter_inappwebview_platform_interface/src/main.dartthat imports:package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dartthat 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.cn/web/wasm for details.
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.5.0 | 1.5.0 | |
lottie |
^3.1.2 |
3.3.2 | 3.3.2 | |
moyasar |
^2.1.0 |
2.1.1 | 2.1.1 | |
tabby_flutter_inapp_sdk_fork |
^1.11.2 |
1.11.2 | 1.11.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.7 | 4.0.7 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.5 | 0.3.5 | |
crypto |
- | 3.0.6 | 3.0.6 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file_selector_linux |
- | 0.9.3+2 | 0.9.3+2 | |
file_selector_macos |
- | 0.9.4+5 | 0.9.4+5 | |
file_selector_platform_interface |
- | 2.6.2 | 2.6.2 | |
file_selector_windows |
- | 0.9.3+4 | 0.9.3+4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
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 | |
flutter_plugin_android_lifecycle |
- | 2.0.32 | 2.0.32 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image |
- | 4.5.4 | 4.5.4 | |
image_picker |
- | 1.2.0 | 1.2.0 | |
image_picker_android |
- | 0.8.13+7 | 0.8.13+7 | |
image_picker_for_web |
- | 3.1.0 | 3.1.0 | |
image_picker_ios |
- | 0.8.13+1 | 0.8.13+1 | |
image_picker_linux |
- | 0.2.2 | 0.2.2 | |
image_picker_macos |
- | 0.2.2+1 | 0.2.2+1 | |
image_picker_platform_interface |
- | 2.11.1 | 2.11.1 | |
image_picker_windows |
- | 0.2.2 | 0.2.2 | |
intl |
- | 0.20.2 | 0.20.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.20 | 2.2.20 | |
path_provider_foundation |
- | 2.4.3 | 2.4.3 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
pay |
- | 3.2.1 | 3.2.1 | |
pay_android |
- | 3.1.1 | 3.1.1 | |
pay_ios |
- | 1.1.0 | 1.1.0 | |
pay_platform_interface |
- | 2.0.0 | 2.0.0 | |
permission_handler |
- | 11.4.0 | 12.0.1 | |
permission_handler_android |
- | 12.1.0 | 13.0.1 | |
permission_handler_apple |
- | 9.4.7 | 9.4.7 | |
permission_handler_html |
- | 0.1.3+5 | 0.1.3+5 | |
permission_handler_platform_interface |
- | 4.3.0 | 4.3.0 | |
permission_handler_windows |
- | 0.2.1 | 0.2.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.0.3 | 6.0.3 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter |
- | 4.13.0 | 4.13.0 | |
webview_flutter_android |
- | 4.10.5 | 4.10.5 | |
webview_flutter_platform_interface |
- | 2.14.0 | 2.14.0 | |
webview_flutter_wkwebview |
- | 3.23.2 | 3.23.2 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
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.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.