An open API service indexing awesome lists of open source software.

https://github.com/maxint-app/plaid_universal

Plaid Link plugin for Flutter (iOS, Android, MacOS, Linux, Windows, Web)
https://github.com/maxint-app/plaid_universal

crossplatform flutter maxint openbanking plaid

Last synced: 2 months ago
JSON representation

Plaid Link plugin for Flutter (iOS, Android, MacOS, Linux, Windows, Web)

Awesome Lists containing this project

README

          

# Plaid Universal

Plaid Link for Flutter platform supporting iOS, Android, MacOS, Linux, Windows and Web by [maxint.com](https://maxint.com)

See [Plaid Link documentation](https://plaid.com/docs/link/) to learn how to use it.

Also checkout [`plaid_flutter`](https://pub.dev/packages/plaid_flutter) package to configure plaid for Android, iOS and Web

## Configurations

### Web

Add following to your `web/index.html`'s `` section

```html

```

## Install

Add `plaid_universal` via `pub`:

```bash
$ flutter pub add plaid_universal
```

## Usage

```dart
import 'package:flutter/material.dart';
import 'package:plaid_universal/plaid_universal.dart';

class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);

@override
Widget build(BuildContext context) => MaterialApp(
title: 'Plaid Universal Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const MyHomePage(title: 'Plaid Universal Demo'),
);
}

class MyHomePage extends StatelessWidget {
const MyHomePage({Key? key, required this.title}) : super(key: key);

final String title;

@override
Widget build(BuildContext context) => Scaffold(
appBar: AppBar(
title: Text(title),
),
body: Center(
child: ElevatedButton(
onPressed: () async {
final result = await Navigator.of(context).push(
MaterialPageRoute(
builder: (context) => const PlaidUniversal(
linkToken: LinkTokenConfiguration(
token: "your generated link token"
),
onEnrollment: (publicToken, metadata){
Navigator.pop(context, publicToken);
},
onExit: (exit){
Navigator.pop(context);
},
),
),
);
print(result);
},
child: const Text("Connect"),
),
),
);
}
```

## Publisher

[Maxint.com](https://maxint.com)

## License

[MPL 2.0](/LICENSE)