esewa_khalti_payment_pkg 0.0.2 esewa_khalti_payment_pkg: ^0.0.2 copied to clipboard
Esewa Khalti Payment
We analyzed this package 9 days ago, and awarded it 90 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 60 to 180 characters to describe the package, what it does, and its target use case.
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
2 out of 11 API elements (18.2 %) 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: esewa_khalti_payment_pkg
, esewa_khalti_payment_pkg.Esewa
, esewa_khalti_payment_pkg.Esewa.Esewa
, esewa_khalti_payment_pkg.Esewa.clientID
, esewa_khalti_payment_pkg.Esewa.products
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:esewa_khalti_payment_pkg/esewa_khalti_payment_pkg.dart
that imports:package:esewa_khalti_payment_pkg/src/esewa.dart
that imports:package:esewa_pnp/esewa_pnp.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:esewa_khalti_payment_pkg/esewa_khalti_payment_pkg.dart
that imports:package:esewa_khalti_payment_pkg/src/esewa.dart
that imports:package:esewa_pnp/esewa_pnp.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:esewa_khalti_payment_pkg/esewa_khalti_payment_pkg.dart
that imports:package:esewa_khalti_payment_pkg/src/esewa.dart
that imports:package:esewa_pnp/esewa_pnp.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:esewa_khalti_payment_pkg/esewa_khalti_payment_pkg.dart
that imports:package:esewa_khalti_payment_pkg/src/esewa.dart
that imports:package:esewa_pnp/esewa_pnp.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:esewa_khalti_payment_pkg/esewa_khalti_payment_pkg.dart
that imports:package:esewa_khalti_payment_pkg/src/khalti.dart
that imports:package:khalti_flutter/khalti_flutter.dart
that imports:package:khalti_flutter/src/widget/khalti_scope.dart
that imports:package:khalti_flutter/src/payment_page.dart
that imports:package:khalti_flutter/src/page/wallet_payment_page.dart
that imports:package:khalti_flutter/src/widget/fields.dart
that imports:package:khalti_flutter/src/helper/payment_config_scope.dart
that imports:package:khalti_flutter/src/helper/payment_config.dart
that imports:package:khalti/khalti.dart
that imports:package:khalti/src/util/package_util.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:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:esewa_khalti_payment_pkg/esewa_khalti_payment_pkg.dart
that imports:package:esewa_khalti_payment_pkg/src/khalti.dart
that imports:package:khalti_flutter/khalti_flutter.dart
that imports:package:khalti_flutter/src/widget/khalti_scope.dart
that imports:package:khalti_flutter/src/payment_page.dart
that imports:package:khalti_flutter/src/page/wallet_payment_page.dart
that imports:package:khalti_flutter/src/widget/fields.dart
that imports:package:khalti_flutter/src/helper/payment_config_scope.dart
that imports:package:khalti_flutter/src/helper/payment_config.dart
that imports:package:khalti/khalti.dart
that imports:package:khalti/src/util/package_util.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:win32/win32.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:esewa_khalti_payment_pkg/esewa_khalti_payment_pkg.dart
that imports:package:esewa_khalti_payment_pkg/src/esewa.dart
that imports:package:esewa_pnp/esewa_pnp.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 5 issues. Showing the first 2:
WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: Esewa.products, Esewa.clientID, Esewa.secretKey
lib/src/esewa.dart:5:7
╷
5 │ class Esewa extends StatelessWidget {
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/esewa.dart
WARNING: The declaration '_initPayment' isn't referenced.
lib/src/esewa.dart:17:5
╷
17 │ _initPayment(Map<String, dynamic> products) async {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/esewa.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
esewa_pnp |
^2.0.1 |
2.0.1 | 2.0.1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
khalti_flutter |
^2.1.0 |
2.2.1 | 3.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
- | 2.6.0 | 2.6.0 |
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.4.0 |
clock |
- | 1.1.2 | 1.1.2 |
collection |
- | 1.19.0 | 1.19.1 |
device_info_plus |
- | 8.2.2 | 11.2.0 |
device_info_plus_platform_interface |
- | 7.0.2 | 7.0.2 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 6.1.4 | 7.0.1 |
flutter_svg |
- | 2.0.9 | 2.0.16 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http |
- | 0.13.6 | 1.2.2 |
http_parser |
- | 4.1.1 | 4.1.1 |
intl |
- | 0.18.1 | 0.20.1 |
khalti |
- | 1.1.0 | 2.0.0 |
khalti_core |
- | 1.1.1 | 1.1.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
package_info_plus |
- | 3.1.2 | 8.1.2 |
package_info_plus_platform_interface |
- | 2.0.1 | 3.0.2 |
path |
- | 1.9.1 | 1.9.1 |
path_parsing |
- | 1.1.0 | 1.1.0 |
petitparser |
- | 6.0.2 | 6.0.2 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.0 | 0.0.0 |
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 |
- | 6.3.1 | 6.3.1 |
url_launcher_android |
- | 6.3.14 | 6.3.14 |
url_launcher_ios |
- | 6.3.2 | 6.3.2 |
url_launcher_linux |
- | 3.2.1 | 3.2.1 |
url_launcher_macos |
- | 3.2.2 | 3.2.2 |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 |
url_launcher_web |
- | 2.3.3 | 2.3.3 |
url_launcher_windows |
- | 3.1.3 | 3.1.3 |
vector_graphics |
- | 1.1.10+1 | 1.1.15 |
vector_graphics_codec |
- | 1.1.10+1 | 1.1.12 |
vector_graphics_compiler |
- | 1.1.10+1 | 1.1.16 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
win32 |
- | 4.1.4 | 5.9.0 |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^2.1.0` on khalti_flutter does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions khalti_flutter
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.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.