Last updated:
0 purchases
plaid webview
plaid_webview #
A new Flutter package.
Flutter for Plaid Link
Usage #
class _Example extends State {
showPlaidView() {
bool plaidSandbox = false;
Configuration configuration = Configuration(
plaidPublicKey: 'yourPublicKey',
plaidBaseUrl: 'https://cdn.plaid.com/link/v2/stable/link.html',
plaidEnvironment: plaidSandbox ? 'sandbox' : 'production',
environmentPlaidPathAccessToken:
'https://sandbox.plaid.com/item/public_token/exchange',
environmentPlaidPathStripeToken:
'https://sandbox.plaid.com/processor/stripe/bank_account_token/create',
plaidClientId: 'yourPlaidClientId',
secret: plaidSandbox ? 'yourSecret' : '');
PlaidWebview plaidWebview = PlaidWebview(configuration);
plaidWebview.launch(context, (Result result) {
///handle result
}, stripeToken: false);
}
@override
Widget build(BuildContext context) {
return Container();
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.