flutter_moneykit 0.0.6 copy "flutter_moneykit: ^0.0.6" to clipboard
flutter_moneykit: ^0.0.6 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
0
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

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

Homepage

License

unknown (license)

Dependencies

collection, flutter, plugin_platform_interface

More

Packages that depend on flutter_moneykit