pay_with_stripe 0.0.4
pay_with_stripe: ^0.0.4 copied to clipboard
Pay with Stripe is a Flutter package that streamlines Stripe payments, allowing you to complete transactions securely with a single line of code.
We analyzed this package 20 hours ago, and awarded it 135 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.4").
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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 21 API elements (4.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: pay_with_stripe, pay_with_stripe.CURRENCY, pay_with_stripe.CustomerModel, pay_with_stripe.CustomerModel.CustomerModel.new, pay_with_stripe.CustomerModel.customerId.
10/10 points: Package has an example
10/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:pay_with_stripe/pay_with_stripe.dartthat imports:package:pay_with_stripe/src/pay_with_stripe.dartthat imports:package:pay_with_stripe/src/service/stripe_service.dartthat imports:package:pay_with_stripe/src/models/bottom_sheet_model.dartthat imports:package:flutter_stripe/flutter_stripe.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:pay_with_stripe/pay_with_stripe.dartthat imports:package:pay_with_stripe/src/pay_with_stripe.dartthat imports:package:pay_with_stripe/src/service/stripe_service.dartthat imports:package:pay_with_stripe/src/models/bottom_sheet_model.dartthat imports:package:flutter_stripe/flutter_stripe.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:pay_with_stripe/pay_with_stripe.dartthat imports:package:pay_with_stripe/src/pay_with_stripe.dartthat imports:package:pay_with_stripe/src/service/stripe_service.dartthat imports:package:pay_with_stripe/src/models/bottom_sheet_model.dartthat imports:package:flutter_stripe/flutter_stripe.dartthat declares support for platforms:Android,iOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:pay_with_stripe/pay_with_stripe.dartthat imports:package:pay_with_stripe/src/pay_with_stripe.dartthat imports:package:pay_with_stripe/src/service/stripe_service.dartthat imports:package:pay_with_stripe/src/models/bottom_sheet_model.dartthat imports:package:flutter_stripe/flutter_stripe.dartthat imports:package:flutter_stripe/src/widgets/platform_pay_button.dartthat imports:package:flutter_stripe/src/widgets/google_pay_button.dartthat imports:package:stripe_platform_interface/stripe_platform_interface.dartthat imports:package:stripe_platform_interface/src/stripe_platform_interface.dartthat imports:package:stripe_platform_interface/src/method_channel_stripe.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:pay_with_stripe/pay_with_stripe.dartthat imports:package:pay_with_stripe/src/pay_with_stripe.dartthat imports:package:pay_with_stripe/src/service/stripe_service.dartthat imports:package:pay_with_stripe/src/models/bottom_sheet_model.dartthat imports:package:flutter_stripe/flutter_stripe.dartthat imports:package:flutter_stripe/src/widgets/platform_pay_button.dartthat imports:package:flutter_stripe/src/widgets/google_pay_button.dartthat imports:package:stripe_platform_interface/stripe_platform_interface.dartthat imports:package:stripe_platform_interface/src/stripe_platform_interface.dartthat imports:package:stripe_platform_interface/src/method_channel_stripe.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
50/50 points: code has no errors, warnings, lints, or formatting issues
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^5.9.0 |
5.9.2 | 5.9.2 | |
flutter_stripe |
^12.0.0 |
12.4.0 | 12.4.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
dio_web_adapter |
- | 2.1.2 | 2.1.2 | |
freezed_annotation |
- | 3.1.0 | 3.1.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
json_annotation |
- | 4.11.0 | 4.11.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
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 | |
stripe_android |
- | 12.4.0 | 12.4.0 | |
stripe_ios |
- | 12.4.0 | 12.4.0 | |
stripe_platform_interface |
- | 12.4.0 | 12.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.10, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.