smart_pay 0.1.2 copy "smart_pay: ^0.1.2" to clipboard
smart_pay: ^0.1.2 copied to clipboard

Unified Flutter payments toolkit supporting Stripe Payment Sheets and Payment Links with automatic URL generation, manual handling, and provider-driven configuration.

160/ 160
pub points
282
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/muhammadwaqasdev/smart_pay/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

49 out of 104 API elements (47.1 %) have documentation comments.

Some symbols that are missing documentation: smart_pay, smart_pay.CreateStripePaymentSheet, smart_pay.GenericURLConfig.GenericURLConfig.new, smart_pay.PayRequest, smart_pay.PayRequest.PayRequest.new.

Passed check 10/10 points: Package has an example

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

Passed check 20/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:smart_pay/smart_pay.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:smart_pay/smart_pay.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:smart_pay/smart_pay.dart that 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:smart_pay/smart_pay.dart that imports:
  • package:smart_pay/src/smart_pay.dart that imports:
  • package:smart_pay/src/providers/stripe_provider.dart that imports:
  • package:smart_pay/src/platform/platform_detector.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:smart_pay/smart_pay.dart that imports:
  • package:smart_pay/src/smart_pay.dart that imports:
  • package:smart_pay/src/providers/stripe_provider.dart that imports:
  • package:smart_pay/src/platform/platform_detector.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

Partially passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Partially passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
flutter_stripe ^11.5.0 11.5.0 12.0.2
http ^1.5.0 1.5.0 1.5.0
url_launcher ^6.3.2 6.3.2 6.3.2
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
freezed_annotation - 2.4.4 3.1.0
http_parser - 4.1.2 4.1.2
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.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
stripe_android - 11.5.0 12.0.1
stripe_ios - 11.5.0 12.0.1
stripe_platform_interface - 11.5.0 12.0.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.18 6.3.18
url_launcher_ios - 6.3.4 6.3.4
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.3 3.2.3
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.4 3.1.4
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.

The constraint `^11.5.0` on flutter_stripe does not support the stable version `12.0.0`, that was published 10 days ago.

When flutter_stripe is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions flutter_stripe 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.22.22, Flutter 3.35.2, Dart 3.9.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
160
points
282
downloads

Publisher

verified publishermwaqas.mobvers.com

Weekly Downloads

Unified Flutter payments toolkit supporting Stripe Payment Sheets and Payment Links with automatic URL generation, manual handling, and provider-driven configuration.

Repository (GitHub)
View/report issues
Contributing

Topics

#payments #stripe #flutter #payment-processing #payment-gateway

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, flutter_stripe, http, url_launcher

More

Packages that depend on smart_pay