phonepe_gateway 0.0.5+beta copy "phonepe_gateway: ^0.0.5+beta" to clipboard
phonepe_gateway: ^0.0.5+beta copied to clipboard

The provided code is a Flutter application that attempts to integrate the "PhonePe" payment gateway for processing payments.

90/ 160
pub points
1
downloads

We analyzed this package 18 hours ago, and awarded it 90 pub points (of a possible 160):

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

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

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

12 out of 206 API elements (5.8 %) 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: card, card.CreditDebitCard, card.CreditDebitCard.CreditDebitCard.new, card.CreditDebitCard.params, card_model.

Passed check 10/10 points: Package has an example

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

Passed check 20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:phonepe_gateway/phonepe_gateway.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:phonepe_gateway/phonepe_gateway.dart that declares support for platforms: Android.
Package does not support platform `Linux`.

Because:

  • package:phonepe_gateway/phonepe_gateway.dart that declares support for platforms: Android.
Package does not support platform `macOS`.

Because:

  • package:phonepe_gateway/phonepe_gateway.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:phonepe_gateway/phonepe_gateway.dart that declares support for platforms: Android.

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:phonepe_gateway/phonepe_gateway.dart that imports:
  • package:toast/toast.dart that declares support for platforms: Web.
Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

ERROR: 2 positional arguments expected by 'getAppInfo', but 1 found.

lib/components/upi.dart:190:56

    ╷
190 │     var ds = await InstalledApps.getAppInfo(packageName);
    │                                                        ^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/components/upi.dart

ERROR: The property 'icon' can't be unconditionally accessed because the receiver can be 'null'.

lib/components/upi.dart:191:15

    ╷
191 │     return ds.icon!;
    │               ^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/components/upi.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
flutter_svg ^1.1.6 1.1.6 2.2.3
http ^0.13.5 0.13.6 1.6.0
installed_apps ^1.3.1 1.6.0 2.1.0
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
pointycastle ^3.7.3 3.9.1 4.0.0
provider ^6.0.5 6.1.5+1 6.1.5+1
shimmer ^3.0.0 3.0.0 3.0.0
toast ^0.3.0 0.3.0 0.3.0
webview_flutter ^4.2.2 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
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
path_drawing - 1.0.1 1.0.1
path_parsing - 1.1.0 1.1.0
petitparser - 7.0.1 7.0.1
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
xml - 6.6.1 6.6.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 4 issues. Showing the first 2:

The constraint `^1.1.6` on flutter_svg does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions flutter_svg to update the constraint.

The constraint `^0.13.5` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http to update the constraint.

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.4, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
8
likes
90
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

The provided code is a Flutter application that attempts to integrate the "PhonePe" payment gateway for processing payments.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_svg, http, installed_apps, plugin_platform_interface, pointycastle, provider, shimmer, toast, webview_flutter

More

Packages that depend on phonepe_gateway

Packages that implement phonepe_gateway