klasha_checkout_v2 1.0.5
klasha_checkout_v2: ^1.0.5 copied to clipboard
A Flutter plugin for making payments via Klasha Checkout Technology
We analyzed this package 15 days ago, and awarded it 125 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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 ("1.0.5").
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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
11 out of 295 API elements (3.7 %) 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: klasha_checkout_v2, klasha_checkout_v2.AddBankCardResponse, klasha_checkout_v2.AddBankCardResponse.AddBankCardResponse.fromJson, klasha_checkout_v2.AddBankCardResponse.AddBankCardResponse.new, klasha_checkout_v2.AddBankCardResponse.data.
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:klasha_checkout_v2/klasha_checkout_v2.dartthat imports:package:klasha_checkout_v2/src/core/klasha_checkout.dartthat imports:package:klasha_checkout_v2/src/ui/views/klasha_checkout_base_view.dartthat imports:package:klasha_checkout_v2/src/ui/views/views.dartthat imports:package:klasha_checkout_v2/src/ui/views/checkout_view_wrapper.dartthat imports:package:klasha_checkout_v2/src/ui/views/card_checkout_view.dartthat imports:package:klasha_checkout_v2/src/ui/widgets/forms/card_redirect_form.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:klasha_checkout_v2/klasha_checkout_v2.dartthat imports:package:klasha_checkout_v2/src/core/klasha_checkout.dartthat imports:package:klasha_checkout_v2/src/ui/views/klasha_checkout_base_view.dartthat imports:package:klasha_checkout_v2/src/ui/views/views.dartthat imports:package:klasha_checkout_v2/src/ui/views/checkout_view_wrapper.dartthat imports:package:klasha_checkout_v2/src/ui/views/card_checkout_view.dartthat imports:package:klasha_checkout_v2/src/ui/widgets/forms/card_redirect_form.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:klasha_checkout_v2/klasha_checkout_v2.dartthat imports:package:klasha_checkout_v2/src/core/klasha_checkout.dartthat imports:package:klasha_checkout_v2/src/ui/views/klasha_checkout_base_view.dartthat imports:package:klasha_checkout_v2/src/ui/views/views.dartthat imports:package:klasha_checkout_v2/src/ui/views/checkout_view_wrapper.dartthat imports:package:klasha_checkout_v2/src/ui/views/card_checkout_view.dartthat imports:package:klasha_checkout_v2/src/ui/widgets/forms/card_redirect_form.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 38 issues. Showing the first 2:
INFO: Dangling library doc comment.
lib/src/core/config/constants.dart:1:1
╷
1 │ ┌ /// contains constants used relating to the core logic
2 │ │ /// e.g the list of currencies
3 │ │ /// callbacks
4 │ └ /// environments (test and live)
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/config/constants.dart
INFO: Use the generic function type syntax in 'typedef's.
lib/src/core/config/constants.dart:10:14
╷
10 │ typedef void OnCheckoutResponse<KlashaCheckoutResponse>(KlashaCheckoutResponse response);
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/config/constants.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
http |
^0.13.3 |
0.13.6 | 1.6.0 | |
intl |
^0.18.1 |
0.18.1 | 0.20.2 | |
webview_flutter |
^4.0.5 |
4.13.0 | 4.13.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
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 | |
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 | |
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.
The constraint `^0.13.3` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http to update the constraint.
The constraint `^0.18.1` on intl does not support the stable version `0.19.0`.
Try running dart pub upgrade --major-versions intl 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.