mono_flutter 1.0.0-dev.1 copy "mono_flutter: ^1.0.0-dev.1" to clipboard
mono_flutter: ^1.0.0-dev.1 copied to clipboard

outdated

A Flutter plugin integrating the official android and ios SDK for Mono https://mono.co

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.

for web support ass the following to index.html #

 ```HTML

Example:
```dart
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: () {
          if (kIsWeb){
           return MonoFlutter().launch(
               'API_KEY',
               '',
               jsonEncode({
                 "selectedInstitution": {
                   "id": "5f2d08bf60b92e2888287703",
                   "auth_method": "internet_banking"
                 }
               }));}
               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

13
likes
0
pub points
84%
popularity

Publisher

verified publisherwiseminds.cc

A Flutter plugin integrating the official android and ios SDK for Mono https://mono.co

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, flutter_web_plugins, js, webview_flutter

More

Packages that depend on mono_flutter