mono_flutter

pub package

A Flutter plugin integrating the official android and ios SDK for Mono (financial data Platform) (https://mono.co/)

Screenshot Screenshot

Usage

Import package:mono_flutter/mono_flutter.dart and use the methods in MonoFlutter class.

Example:

import 'package:mono_flutter/mono_flutter.dart';

void main() async {
    runApp(App());
}

class App extends StatelessWidget {

    @override
    Widget build(BuildContext context) {
        return  Center(
          child: RaisedButton(
        child: Text('launch mono'),
        onPressed: () => Navigator.of(context)
            .push(CupertinoPageRoute(
                builder: (c) => MonoWebView(
                      apiKey: 'API_KEY',
                      onClosed: () {
                        print('Modal closed');
                      },
                      onSuccess: (code) {
                        print('Mono Success $code');
                      },
                    )))
            .then((code) => print(code)),
      ));
    }
}

checkout the example project for full implementation

Libraries

mono_flutter
mono_web_view