stripe_js 3.4.0 copy "stripe_js: ^3.4.0" to clipboard
stripe_js: ^3.4.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
70
pub points
95%
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

Documentation

API reference

License

MIT (LICENSE)

Dependencies

freezed_annotation, js, json_annotation, meta

More

Packages that depend on stripe_js