esewa_khalti_payment_pkg 0.0.2 copy "esewa_khalti_payment_pkg: ^0.0.2" to clipboard
esewa_khalti_payment_pkg: ^0.0.2 copied to clipboard

Esewa Khalti Payment

85/ 160
pub points
39
downloads

We analyzed this package 2 days ago, and awarded it 85 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
5 / 30trigger folding of the section

Failed check 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.

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.0.2").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Failed check 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.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 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.new, esewa_khalti_payment_pkg.Esewa.clientID, esewa_khalti_payment_pkg.Esewa.products.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.
Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
esewa_pnp ^2.0.1 2.0.1 2.0.1 Discontinued
khalti_flutter ^2.1.0 2.2.1 3.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
device_info_plus - 8.2.2 12.3.0
device_info_plus_platform_interface - 7.0.3 7.0.3
ffi - 2.2.0 2.2.0
file - 6.1.4 7.0.1
flutter_svg - 2.0.9 2.2.4
http - 0.13.6 1.6.0
http_parser - 4.1.2 4.1.2
intl - 0.18.1 0.20.2
khalti - 1.1.0 2.0.0
khalti_core - 1.1.1 1.1.1
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
package_info_plus - 3.1.2 9.0.0
package_info_plus_platform_interface - 2.0.1 3.2.1
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
petitparser - 7.0.2 7.0.2
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.2 1.10.2
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.2 6.3.2
url_launcher_android - 6.3.28 6.3.28
url_launcher_ios - 6.4.1 6.4.1
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.2 2.4.2
url_launcher_windows - 3.1.5 3.1.5
vector_graphics - 1.1.10+1 1.1.20
vector_graphics_codec - 1.1.10+1 1.1.13
vector_graphics_compiler - 1.1.10+1 1.2.0
vector_math - 2.2.0 2.3.0
web - 1.1.1 1.1.1
win32 - 4.1.4 6.0.0
xml - 6.6.1 6.6.1

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.

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • esewa_pnp.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.11, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
85
points
39
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Esewa Khalti Payment

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

esewa_pnp, flutter, khalti_flutter

More

Packages that depend on esewa_khalti_payment_pkg