grootpay_sdk 0.0.1
grootpay_sdk: ^0.0.1 copied to clipboard
Flutter SDK for integrating GrootPay payments.
We analyzed this package in the last hour, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 50 to 180 characters to describe the package, what it does, and its target use case.
-
pubspec.yaml
doesn't have ahomepage
entry. -
pubspec.yaml
doesn't have arepository
entry.
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
336 out of 904 API elements (37.2 %) have documentation comments.
Some symbols that are missing documentation: api_constants
, api_constants.ApiConstants
, api_constants.ApiConstants.accept
, api_constants.ApiConstants.biometricError
, api_constants.ApiConstants.cas
.
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:grootpay_sdk/grootpay_sdk.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:grootpay_sdk/grootpay_sdk.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:grootpay_sdk/grootpay_sdk.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:grootpay_sdk/grootpay_sdk.dart
that 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:grootpay_sdk/grootpay_sdk.dart
that imports:package:grootpay_sdk/presentation/screens/wallet_login_screen.dart
that imports:package:grootpay_sdk/presentation/screens/wallet_checkout_screen.dart
that imports:package:grootpay_sdk/presentation/screens/wallet_otp_screen.dart
that imports:package:grootpay_sdk/presentation/bloc/login_bloc/login_bloc.dart
that imports:package:grootpay_sdk/domain/api_repo.dart
that imports:package:grootpay_sdk/core/services/network_service/network_service.dart
that imports:package:grootpay_sdk/core/services/device_info/device_info_service.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:grootpay_sdk/grootpay_sdk.dart
that imports:package:grootpay_sdk/presentation/screens/wallet_login_screen.dart
that imports:package:grootpay_sdk/presentation/screens/wallet_checkout_screen.dart
that imports:package:grootpay_sdk/presentation/screens/wallet_otp_screen.dart
that imports:package:grootpay_sdk/presentation/bloc/login_bloc/login_bloc.dart
that imports:package:grootpay_sdk/domain/api_repo.dart
that imports:package:grootpay_sdk/core/services/network_service/network_service.dart
that imports:package:grootpay_sdk/core/services/device_info/device_info_service.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:grootpay_sdk/grootpay_sdk.dart
that imports:package:grootpay_sdk/presentation/screens/wallet_login_screen.dart
that imports:package:grootpay_sdk/presentation/screens/wallet_checkout_screen.dart
that imports:package:grootpay_sdk/presentation/screens/wallet_otp_screen.dart
that imports:package:grootpay_sdk/presentation/bloc/login_bloc/login_bloc.dart
that imports:package:grootpay_sdk/domain/api_repo.dart
that imports:package:grootpay_sdk/core/services/network_service/network_service.dart
that imports:package:api_request_handler/api_service.dart
that imports:package:api_request_handler/src/cache_service.dart
that imports:package:hive_flutter/hive_flutter.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.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.cn/web/wasm for details.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/grootpay_sdk/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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 20 issues. Showing the first 2:
INFO: Parameters ''primary' and 'swatch'' could be super parameters.
lib/core/utils/custom_color_swatch.dart:4:9
╷
4 │ const CustomColorSwatch(int primary, Map<int, Color> swatch)
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/utils/custom_color_swatch.dart
/tmp/pana_NTASYW/lib/core/constants/assets_path.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
api_request_handler |
^0.0.2 |
0.0.4 | 0.0.4 | |
connectivity_plus |
^6.1.2 |
6.1.5 | 7.0.0 | |
crypto |
^3.0.6 |
3.0.6 | 3.0.6 | |
dartz |
^0.10.1 |
0.10.1 | 0.10.1 | |
device_info_plus |
^11.3.0 |
11.5.0 | 12.1.0 | |
dio |
^5.8.0+1 |
5.9.0 | 5.9.0 | |
equatable |
^2.0.7 |
2.0.7 | 2.0.7 | |
flutter_bloc |
^9.0.0 |
9.1.1 | 9.1.1 | |
flutter_dotenv |
^5.2.1 |
5.2.1 | 6.0.0 | |
flutter_screenutil |
^5.9.3 |
5.9.3 | 5.9.3 | |
flutter_svg |
^2.0.17 |
2.2.1 | 2.2.1 | |
fluttertoast |
^8.2.10 |
8.2.14 | 9.0.0 | |
go_router |
^16.0.0 |
16.2.5 | 16.2.5 | |
google_fonts |
^6.2.1 |
6.3.2 | 6.3.2 | |
intl |
^0.20.2 |
0.20.2 | 0.20.2 | |
package_info_plus |
^8.2.1 |
8.3.1 | 9.0.0 | |
pin_code_fields |
^8.0.1 |
8.0.1 | 8.0.1 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
shared_preferences |
^2.3.5 |
2.5.3 | 2.5.3 | |
unique_identifier |
^0.4.0 |
0.4.0 | 0.4.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 | |
bloc |
- | 9.1.0 | 9.1.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 2.0.1 | 2.0.1 | |
dbus |
- | 0.7.11 | 0.7.11 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.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 | |
hive |
- | 2.2.3 | 2.2.3 | |
hive_flutter |
- | 1.1.0 | 1.1.0 | |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.20 | 2.2.20 | |
path_provider_foundation |
- | 2.4.2 | 2.4.2 | |
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 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
shared_preferences_android |
- | 2.4.15 | 2.4.15 | |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
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 | |
vector_graphics |
- | 1.1.19 | 1.1.19 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.1.19 | 1.1.19 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
win32_registry |
- | 2.1.0 | 2.1.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 5 issues. Showing the first 2:
The constraint `^6.1.2` on connectivity_plus does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions connectivity_plus
to update the constraint.
The constraint `^11.3.0` on device_info_plus does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions device_info_plus
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.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.