phonepe_pg_web 0.0.3
phonepe_pg_web: ^0.0.3 copied to clipboard
This package provides a Flutter wrapper for the PhonePe PG SDK, allowing you to easily accept payments from your Flutter Web app.
We analyzed this package 15 days ago, and awarded it 105 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: phonepe_pg_web.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: phonepe_pg_web, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Homepage URL doesn't exist.
At the time of the analysis https://paraggupta.in/ was unreachable. Make sure that the website is reachable via HEAD requests.
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 ("0.0.3").
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: BSD-3-Clause.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 44 API elements (4.5 %) 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: payment_response, payment_response.InstrumentResponse, payment_response.InstrumentResponse.InstrumentResponse.fromJson, payment_response.InstrumentResponse.InstrumentResponse.new, payment_response.InstrumentResponse.redirectInfo.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:phonepe_pg_web/model/payment_response.dartthat declares support for platforms:Web.
Package does not support platform `iOS`.
Because:
package:phonepe_pg_web/model/payment_response.dartthat declares support for platforms:Web.
Package does not support platform `Windows`.
Because:
package:phonepe_pg_web/model/payment_response.dartthat declares support for platforms:Web.
Package does not support platform `Linux`.
Because:
package:phonepe_pg_web/model/payment_response.dartthat declares support for platforms:Web.
Package does not support platform `macOS`.
Because:
package:phonepe_pg_web/model/payment_response.dartthat declares support for platforms:Web.
0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: The constant name 'POST' isn't a lowerCamelCase identifier.
lib/phonepe_pg.dart:13:21
╷
13 │ enum RedirectType { POST, REDIRECT }
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/phonepe_pg.dart
INFO: The constant name 'REDIRECT' isn't a lowerCamelCase identifier.
lib/phonepe_pg.dart:13:27
╷
13 │ enum RedirectType { POST, REDIRECT }
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/phonepe_pg.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
http |
^0.13.0 |
0.13.6 | 1.6.0 | |
url_launcher |
^6.1.14 |
6.3.2 | 6.3.2 | |
uuid |
^4.1.0 |
4.5.2 | 4.5.2 | |
webview_flutter_web |
^0.2.2 |
0.2.3+4 | 0.2.3+4 |
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 | |
fixnum |
- | 1.1.1 | 1.1.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 | |
url_launcher_android |
- | 6.3.28 | 6.3.28 | |
url_launcher_ios |
- | 6.3.6 | 6.3.6 | |
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.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter_platform_interface |
- | 2.14.0 | 2.14.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.13.0` 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
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.