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

PlatformAndroid

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

7
likes
110/ 140
pub points
63%
popularity

We analyzed this package 10 hours ago, and awarded it 110 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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: MIT.

partial
Provide documentation
10 / 20trigger folding of the section

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

12 out of 205 API elements (5.9 %) 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.

Some symbols that are missing documentation: card, card.CreditDebitCard, card.CreditDebitCard.CreditDebitCard, card.CreditDebitCard.params, card_model.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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.
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. This feature was deprecated after v3.12.0-1.0.pre.

lib/phonepe_ui.dart:32:12

   ╷
32 │     return WillPopScope(
   │            ^^^^^^^^^^^^
   ╵

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

INFO: 'WillPopScope.new' is deprecated and shouldn't be used. Use PopScope instead. This feature was deprecated after v3.12.0-1.0.pre.

lib/phonepe_ui.dart:32:12

   ╷
32 │     return WillPopScope(
   │            ^^^^^^^^^^^^
   ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_svg ^1.1.6 1.1.6 2.0.10+1
http ^0.13.5 0.13.6 1.2.1
installed_apps ^1.3.1 1.5.0 1.5.0
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
pointycastle ^3.7.3 3.9.0 3.9.0
provider ^6.0.5 6.1.2 6.1.2
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.7.0 4.7.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.0.2
js - 0.7.1 0.7.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
nested - 1.0.0 1.0.0
path - 1.9.0 1.9.0
path_drawing - 1.0.1 1.0.1
path_parsing - 1.0.1 1.0.1
petitparser - 6.0.2 6.0.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
webview_flutter_android - 3.16.1 3.16.1
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.13.0 3.13.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 `^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.

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

7
likes
110
pub points
63%
popularity

Publisher

unverified uploader

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