A flutter plugin to integrate stripe into flutter app. There are other pluging available but I tried a different approach. (This plugin not dependent on any other native stripe library) I start to follow the official Android stripe SDK and replicate it's code into Dart. So far I completed the basic functions which includes:
This plugin is in very initial stage, I am using it in my personal app. Future plan is to complete all the remaining API. And completing the Example Project with proper UI. And also having a TextInputFormatter for card auto complete and validation.
Stripe API usage example
For help getting started with Flutter, view our online documentation.
Add this to your package's pubspec.yaml file:
dependencies: stripe_api: ^1.1.0
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|1.1.0||Oct 27, 2018|
|1.0.3||Aug 24, 2018|
|1.0.2||Aug 18, 2018|
|1.0.1||Aug 18, 2018|
|1.0.0||Aug 12, 2018|
|0.0.2||Aug 5, 2018|
|0.0.1||Aug 5, 2018|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
Document public APIs (-9.52 points)
550 out of 578 API elements (library, class, field or method) have no adequate dartdoc content. Good documentation improves code readability and discoverability through search.
lib/card_number_formatter.dart. (-0.50 points)
lib/card_number_formatter.dart reported 1 hint:
line 1 col 8: Unused import: 'dart:math'.
The description is too short. (-20 points)
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
|Dart SDK||>=2.0.0-dev.61.0 <3.0.0|