tr_payment_hub 3.2.0
tr_payment_hub: ^3.2.0 copied to clipboard
Turkish payment gateway integration (iyzico, PayTR, Param, Sipay). Supports proxy mode (Flutter + any backend) and direct mode (Dart backend).
We analyzed this package 9 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
867 out of 921 API elements (94.1 %) have documentation comments.
Some symbols that are missing documentation: tr_payment_hub.IyzicoConfig.IyzicoConfig.new, tr_payment_hub.MetricNames.circuitClosed, tr_payment_hub.MetricNames.circuitOpened, tr_payment_hub.MetricNames.circuitRejected, tr_payment_hub.MetricNames.installmentQuery.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:tr_payment_hub/tr_payment_hub.dartthat imports:package:tr_payment_hub/src/widgets/widgets.dartthat imports:package:tr_payment_hub/src/widgets/payment_webview.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:tr_payment_hub/tr_payment_hub.dartthat imports:package:tr_payment_hub/src/widgets/widgets.dartthat imports:package:tr_payment_hub/src/widgets/payment_webview.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:tr_payment_hub/tr_payment_hub.dartthat imports:package:tr_payment_hub/src/widgets/widgets.dartthat imports:package:tr_payment_hub/src/widgets/payment_webview.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 154 issues. Showing the first 2:
INFO: The referenced name isn't visible in scope.
lib/src/client/proxy_config.dart:53:54
╷
53 │ /// Can be overridden per-request or when calling [initializeWithProvider].
│ ^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/client/proxy_config.dart
INFO: Unnecessary use of a block function body.
lib/src/client/proxy_config.dart:142:6
╷
142 │ }) {
│ ┌──────^
143 │ │ return ProxyConfig(
144 │ │ baseUrl: baseUrl ?? this.baseUrl,
145 │ │ defaultProvider: defaultProvider ?? this.defaultProvider,
146 │ │ authToken: authToken ?? this.authToken,
147 │ │ headers: headers ?? this.headers,
148 │ │ timeout: timeout ?? this.timeout,
149 │ │ maxRetries: maxRetries ?? this.maxRetries,
150 │ │ retryDelay: retryDelay ?? this.retryDelay,
151 │ │ );
152 │ └ }
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/client/proxy_config.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
http |
^1.2.0 |
1.6.0 | 1.6.0 | |
meta |
^1.11.0 |
1.17.0 | 1.18.0 | |
webview_flutter |
^4.4.0 |
4.13.1 | 4.13.1 | |
xml |
^6.5.0 |
6.6.1 | 6.6.1 |
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 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter_android |
- | 4.10.11 | 4.10.11 | |
webview_flutter_platform_interface |
- | 2.14.0 | 2.14.0 | |
webview_flutter_wkwebview |
- | 3.23.5 | 3.23.5 |
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.5, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.