flutter_moneykit 0.1.0 copy "flutter_moneykit: ^0.1.0" to clipboard
flutter_moneykit: ^0.1.0 copied to clipboard

A Flutter plugin that allows for communication with the MoneyKit SDK.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:flutter_moneykit/flutter_moneykit.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
    FlutterMoneykit.events.listen((event) {
      print(event.toString());
    });
  }

  void _connect() {
    FlutterMoneykit.presentLinkFlow(linkToken: '<your-link-token>');
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: TextButton(
            onPressed: _connect,
            child: const Text('Connect'),
          ),
        ),
      ),
    );
  }
}
1
likes
140
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin that allows for communication with the MoneyKit SDK.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter, plugin_platform_interface

More

Packages that depend on flutter_moneykit