fastpay_merchant 1.3.0
fastpay_merchant: ^1.3.0 copied to clipboard
Accept payments with FastPay's APIs. Our simple and easy-to-integrate APIs allow for less effort in processing payments. This is an official support channel, but our APIs support both Android and iOS.
We analyzed this package 11 days ago, and awarded it 100 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
18 out of 174 API elements (10.3 %) 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: CustomCheckbox, CustomCheckbox.CustomCheckbox, CustomCheckbox.CustomCheckbox.CustomCheckbox.new, CustomCheckbox.CustomCheckbox.onChanged, CustomCheckbox.CustomCheckbox.value.
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:fastpay_merchant/fastpay_flutter_sdk.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:fastpay_merchant/fastpay_flutter_sdk.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:fastpay_merchant/fastpay_flutter_sdk.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:fastpay_merchant/fastpay_flutter_sdk.dartthat declares support for platforms:Android,iOS.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/fastpay_merchant/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 47 issues. Showing the first 2:
WARNING: The operand can't be 'null', so the condition is always 'true'.
lib/services/fastpay_sdk_controller.dart:97:17
╷
97 │ if(response != null){
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/services/fastpay_sdk_controller.dart
WARNING: Unused import: 'package:fastpay_merchant/ui/paymentScreen/payment_screen.dart'.
lib/ui/otpScreen/otp_verification_screen.dart:1:8
╷
1 │ import 'package:fastpay_merchant/ui/paymentScreen/payment_screen.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/ui/otpScreen/otp_verification_screen.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
external_app_launcher |
^4.0.0 |
4.0.3 | 4.0.3 | |
google_fonts |
^4.0.4 |
4.0.5 | 6.3.3 | |
http |
^1.2.1 |
1.6.0 | 1.6.0 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
url_launcher |
^6.3.0 |
6.3.2 | 6.3.2 |
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 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.1 | |
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 | |
platform |
- | 3.1.6 | 3.1.6 | |
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 | |
url_launcher_android |
- | 6.3.28 | 6.3.28 | |
url_launcher_ios |
- | 6.3.6 | 6.3.6 | |
url_launcher_linux |
- | 3.2.2 | 3.2.2 | |
url_launcher_macos |
- | 3.2.5 | 3.2.5 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^4.0.4` on google_fonts does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions google_fonts 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.