stripe_js 4.0.0-dev.0 copy "stripe_js: ^4.0.0-dev.0" to clipboard
stripe_js: ^4.0.0-dev.0 copied to clipboard

Stripe.js bindings for dart. This package is used by Stripe web so that the Stripe js sdk can be invoked directly.

Stripe.js bindings for dart2js #

This package is in a very early stage so be cautious to use it in production.

Contribution #

The package is ported manually by taking a look into StripeJS docs and the API Reference.

It uses js package that allows to access the Stripe JS from dart. While the api enpoints use the package, most js objects are pure dart freezed classes that make use of [https://api.dart.dev/stable/2.18.4/dart-js_util/jsify.html] and [https://api.dart.dev/stable/2.18.4/dart-js_util/dartify.html]. While these methods are a bit more expensive, using pure dart allows to easily test these classes and ensure the follow the expected schema

1
likes
0
pub points
96%
popularity

Publisher

verified publisherflutterstripe.io

Stripe.js bindings for dart. This package is used by Stripe web so that the Stripe js sdk can be invoked directly.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

freezed_annotation, json_annotation, meta, web

More

Packages that depend on stripe_js