royat_pay 0.0.3
royat_pay: ^0.0.3 copied to clipboard
RoyatPay is a library that allows Flutter applications to accept online card and apple payments through the Royat service.
We analyzed this package 14 hours ago, and awarded it 95 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: GPL-3.0.
0/10 points: 20% or more of the public API has dartdoc comments
10 out of 124 API elements (8.1 %) 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: apis_servicese, apis_servicese.ApisServices, apis_servicese.ApisServices.info, apis_servicese.ApisServices.instance, apis_servicese.ApisServices.payWithCard.
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:royat_pay/royat_pay.dartthat imports:package:royat_pay/services/apis_servicese.dartthat imports:package:network_info_plus/network_info_plus.dartthat imports:package:network_info_plus/src/network_info_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `Linux`.
Because:
package:royat_pay/royat_pay.dartthat imports:package:royat_pay/services/apis_servicese.dartthat imports:package:network_info_plus/network_info_plus.dartthat imports:package:network_info_plus/src/network_info_plus_windows.dartthat imports:package:win32/winsock2.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:royat_pay/royat_pay.dartthat imports:package:royat_pay/services/apis_servicese.dartthat imports:package:network_info_plus/network_info_plus.dartthat imports:package:network_info_plus/src/network_info_plus_windows.dartthat imports:package:win32/winsock2.dartthat declares support for platforms:Windows.
Package does not support platform `Web`.
Because:
package:royat_pay/royat_pay.dartthat imports:package:royat_pay/services/apis_servicese.dartthat imports:package:network_info_plus/network_info_plus.dartthat imports:package:network_info_plus/src/network_info_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
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:royat_pay/royat_pay.dartthat imports:package:royat_pay/services/apis_servicese.dartthat imports:package:network_info_plus/network_info_plus.dartthat imports:package:network_info_plus/src/network_info_plus_windows.dartthat imports:package:win32/winsock2.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:royat_pay/royat_pay.dartthat imports:package:royat_pay/services/apis_servicese.dartthat imports:package:network_info_plus/network_info_plus.dartthat imports:package:network_info_plus/src/network_info_plus_windows.dartthat imports:package:win32/winsock2.dartthat declares support for platforms:Windows.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
WARNING: The '?' is unnecessary because 'dynamic' is nullable without it.
lib/models/error_response.dart:20:10
╷
20 │ dynamic? result;
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/error_response.dart
WARNING: The left operand can't be null, so the right operand is never executed.
lib/models/pay_data.dart:133:27
╷
133 │ country: country ?? this.country, lastName: '',
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/pay_data.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
any |
5.9.2 | 5.9.2 | |
edfapg_sdk |
any |
2.0.10+1 | 2.0.10+1 | |
flutter_credit_card |
any |
4.1.0 | 4.1.0 | |
network_info_plus |
any |
7.0.0 | 7.0.0 | |
webview_flutter |
any |
4.13.1 | 4.13.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
dbus |
- | 0.7.12 | 0.7.12 | |
dio_web_adapter |
- | 2.1.2 | 2.1.2 | |
ffi |
- | 2.2.0 | 2.2.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.18.1 | 0.20.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
mime |
- | 2.0.0 | 2.0.0 | |
network_info_plus_platform_interface |
- | 2.0.2 | 2.0.2 | |
nm |
- | 0.5.0 | 0.5.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.2 | 1.10.2 | |
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.13 | 4.10.13 | |
webview_flutter_platform_interface |
- | 2.14.0 | 2.14.0 | |
webview_flutter_wkwebview |
- | 3.23.8 | 3.23.8 | |
win32 |
- | 5.15.0 | 6.0.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 28 errors:
NEW_WITH_UNDEFINED_CONSTRUCTOR_DEFAULT-lib/royat_iframe.dart:38:18- The class 'WebViewController' doesn't have an unnamed constructor.UNDEFINED_METHOD-lib/royat_iframe.dart:39:9- The method 'setJavaScriptMode' isn't defined for the type 'WebViewController'.UNDEFINED_IDENTIFIER-lib/royat_iframe.dart:39:27- Undefined name 'JavaScriptMode'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.10, Flutter 3.41.2, Dart 3.11.0.
Check the analysis log for details.