littlefish_payments 3.2.0
littlefish_payments: ^3.2.0 copied to clipboard
The littlefish payments library, that is used to handle payments in all littlefish mobile applications.
We analyzed this package 4 days ago, and awarded it 100 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
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
68 out of 756 API elements (9.0 %) 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: address
, address.Address
, address.Address.Address.fromJson
, address.Address.Address.new
, address.Address.address
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ macOS
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:littlefish_payments/managers/linked_account_manager.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package not compatible with platform Web
Because:
package:littlefish_payments/gateways/cash_payments_gateway.dart
that imports:package:littlefish_payments/models/shared/payment_gateway.dart
that imports:package:littlefish_core/core/littlefish_core.dart
that imports:package:littlefish_core/logging/default_logger.dart
that imports:package:logger/logger.dart
that imports:package:logger/src/outputs/advanced_file_output_stub.dart
that imports:dart:io
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:littlefish_payments/managers/linked_account_manager.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:littlefish_payments/managers/linked_account_manager.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `Windows`.
Because:
package:littlefish_payments/managers/linked_account_manager.dart
that imports:package:littlefish_payments/managers/terminal_manager.dart
that imports:package:geolocator/geolocator.dart
that imports:package:geolocator_apple/geolocator_apple.dart
that declares support for platforms:iOS
,macOS
.
Package does not support platform `macOS`.
Because:
package:littlefish_payments/managers/linked_account_manager.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:littlefish_payments/gateways/cash_payments_gateway.dart
that imports:package:littlefish_payments/models/shared/payment_gateway.dart
that imports:package:littlefish_core/core/littlefish_core.dart
that imports:package:littlefish_core/logging/default_logger.dart
that imports:package:logger/logger.dart
that imports:package:logger/src/outputs/advanced_file_output_stub.dart
that 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.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 24 issues. Showing the first 2:
WARNING: Unused import: 'package:littlefish_core/terminal_management/models/terminal.dart'.
lib/managers/linked_account_manager.dart:7:8
╷
7 │ import 'package:littlefish_core/terminal_management/models/terminal.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/managers/linked_account_manager.dart
WARNING: The value of the local variable 'terminalManager' isn't used.
lib/managers/linked_account_manager.dart:62:27
╷
62 │ final TerminalManager terminalManager = TerminalManager();
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/managers/linked_account_manager.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
device_info_plus |
^9.1.2 |
9.1.2 | 11.5.0 | |
equatable |
^2.0.5 |
2.0.7 | 2.0.7 | |
geolocator |
^11.0.0 |
11.1.0 | 14.0.2 | |
http |
^1.2.2 |
1.4.0 | 1.4.0 | |
injectable |
^2.4.2 |
2.5.0 | 2.5.0 | |
json_annotation |
^4.9.0 |
4.9.0 | 4.9.0 | |
littlefish_core |
^1.2.0 |
1.2.0 | 1.2.0 | Discontinued |
littlefish_core_utils |
^1.0.0 |
1.0.0 | 1.0.0 | |
littlefish_notifications_signalr |
^0.1.0 |
0.1.1 | 0.1.1 | |
package_info_plus |
^4.2.0 |
4.2.0 | 8.3.0 | |
uuid |
^4.5.1 |
4.5.1 | 4.5.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
brotli |
- | 0.6.0 | 0.6.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
dio |
- | 5.8.0+1 | 5.8.0+1 | |
dio_brotli_transformer |
- | 2.0.0 | 2.0.0 | |
dio_cache_interceptor |
- | 3.5.1 | 4.0.3 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
functions_framework |
- | 0.4.3+1 | 0.4.3+1 | |
geolocator_android |
- | 4.6.2 | 5.0.2 | |
geolocator_apple |
- | 2.3.13 | 2.3.13 | |
geolocator_platform_interface |
- | 4.2.6 | 4.2.6 | |
geolocator_web |
- | 3.0.0 | 4.1.3 | |
geolocator_windows |
- | 0.2.5 | 0.2.5 | |
get_it |
- | 7.7.0 | 8.0.3 | |
google_cloud |
- | 0.2.0 | 0.2.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
io |
- | 1.0.5 | 1.0.5 | |
logger |
- | 2.6.0 | 2.6.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
package_info_plus_platform_interface |
- | 2.0.1 | 3.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pool |
- | 1.5.1 | 1.5.1 | |
protobuf |
- | 3.1.0 | 4.1.0 | |
shelf |
- | 1.4.2 | 1.4.2 | |
signalr_core |
- | 1.1.2 | 1.1.2 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
sse |
- | 4.1.8 | 4.1.8 | |
sse_channel |
- | 0.1.1 | 0.1.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
tuple |
- | 2.0.2 | 2.0.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
web |
- | 0.5.1 | 1.1.1 | |
web_socket_channel |
- | 2.4.5 | 3.0.3 | |
win32 |
- | 5.14.0 | 5.14.0 | |
win32_registry |
- | 1.1.5 | 2.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 4 issues. Showing the first 2:
The constraint `^9.1.2` on device_info_plus does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions device_info_plus
to update the constraint.
The constraint `^11.0.0` on geolocator does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions geolocator
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.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.