🙌🏾 This package makes it easy to use the Mono connect widget in a flutter project

Overview

Flutter Mono

** This is an unofficial SDK for flutter

This package makes it easy to use the Mono connect widget in a flutter project.

📸 Screen Shots

🚀 How to Use plugin

  • Launch MonoFlutter with launchMono method
import 'package:flutter_mono/flutter_mono.dart';

  void launch() async {
       await MonoFlutter.launchMono(
               context,
               key: 'Your Public Key', // from https://app.withmono.com/apps
               reference: "some_random_string"
               configJson: '''{
                  "selectedInstitution": {
                    "id": "5f2d08c060b92e2888287706", 
                    "auth_method": "internet_banking" 
                  }
               }''' /// must be a valid JSON string
               showLogs: true,
               onClose: () {
                  print('onClose');
               },
               onLoad: () {
                  print('onLoad');
               },
               onEvent: (eventName, eventData) {
                  switch (eventName) {
                     case 'mono.connect.institution_selected':
                     /// do something
                     break;
                  },
                  onSuccess: (data) {
                     print('Success: ${data.toJson()}');
                  },
               );
  }
  • Use MonoView widget
import 'package:flutter_mono/flutter_mono.dart';

     ...

   MonoView(
      apiKey: 'Your Public Key', // from https://app.withmono.com/apps
      reference: "some_random_string"
      configJson: '''{
          "selectedInstitution": {
            "id": "5f2d08c060b92e2888287706", 
            "auth_method": "internet_banking" 
           }
      }''' /// must be a valid JSON string
      showLogs: true,
      onClose: () {
         print('onClose');
      },
      onLoad: () {
         print('onLoad');
      },
      onEvent: (eventName, eventData) {
         switch (eventName) {
            case 'mono.connect.institution_selected':
            /// do something
            break;
         }
      },
      onSuccess: (data) {
         print('Success: ${data.toJson()}');
      },
   )

      ...

Contribution

Lots of PR's would be needed to improve this plugin. So lots of suggestions and PRs are welcome.

You might also like...

A Flutter tool that makes golden testing easy.

A Flutter tool that makes golden testing easy.

🧙🏼 Alchemist Developed with 💙 by Very Good Ventures 🦄 and Betterment ☀️ . A Flutter tool that makes golden testing easy. Alchemist is a Flutter pa

Dec 12, 2022

A library that makes it easy for you to create your own custom wizard.

A library that makes it easy for you to create your own custom wizard.

Flutter Wizard Author: Jop Middelkamp A library that makes it easy for you to create your custom wizard. You'll have 100% control over the appearance

Dec 2, 2022

Nexus is a state management library that makes it easy to create and consume your application's reactive data to the user interface.

Nexus 🚀 Nexus is a state management library that makes it easy to create and consume your application's reactive data to the user interface. With nex

Sep 7, 2022

The flutter_ibm_watson makes it easy to integrate IBM Watson

The flutter_ibm_watson makes it easy to integrate IBM Watson

Flutter Ibm Watson Installation Add this to your package's pubspec.yaml file: dependencies: flutter_ibm_watson: ^0.0.1 You can install packages fro

Nov 4, 2022

Toor makes service locators compile-time safe and easy to manage

🌱 What is Toor Toor makes service locators compile-time safe and easy to manage. 🚀 Getting Started Define your dependencies somewhere in the project

Jul 25, 2022

A project made for the ECV Digital 2022. 🌐 The goal being to make a Flutter application to connect, register and display information of a given API.👨🏼🔧

not_netflix A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if t

May 7, 2022

Create flutter project with all needed configuration in two minutes (theme, localization, connect to firebase, FCM, local notifications, safe API call, error handling, animation..etc)

Create flutter project with all needed configuration in two minutes (theme, localization, connect to firebase, FCM, local notifications, safe API call, error handling, animation..etc)

Flutter GetX Template Flutter Getx template to make starting project fast and easy . Introduction We all face the same problem when we want to start a

Jan 7, 2023

Freela is a Flutter project that aims to connect people who want to work with jobs to be done.

Freela Freela is a Flutter project being developed at the university that aims to connect people who want to work with jobs to be done. Para Desenvolv

Nov 1, 2022

A TabBarController that is easy to use for flutter developers. 🥰 It supports various styles of page navigation, and you can also use it to customize your favorite styles. 🍻🍻

A TabBarController that is easy to use for flutter developers. 🥰 It supports various styles of page navigation, and you can also use it to customize your favorite styles. 🍻🍻

easy_tab_controller A user-friendly TabBarController widget for flutter developer. Getting Started This project is a starting point for a Flutter plug

May 26, 2022
Comments
  • Flutter Webview needed

    Flutter Webview needed

    Please add to the documentation or readme, that flutter_webview dependency is needed for this package to work, I had issue with the sdk, until I added webview package.

    opened by victorhez 5
Owner
Chiziaruhoma Ogbonda
✨Mobile Developer. ✨UI/UX designer. ✨UI Developer. 🚀I build ideas to software. 👨🏾‍💻 I live Flutter.
Chiziaruhoma Ogbonda
A flutter widget to indicate loading progress. Easy to use, easy to extend

?? ?? ?? A flutter widget to indicate loading progress. Easy to use, easy to extend

Manuel Duarte 2 May 30, 2022
This library provides a customizable Flutter widget that makes it easy to display text in the middle of a Divider.

1. About 1.1. Introduction 1.1.1. Install Library 1.1.2. Import It 1.1.3. Use TextDivider 1.2. Details 1.2.1. Customization Options 1.2.2. Horizontal

Kato Shinya 2 Feb 9, 2022
Dart package to which makes data communication easy among different modules of your application.

LiveStream - Dart LiveStream is a data holder class which can observe change of data in real-time and emit values too. Here's emitter subscriber patte

Shreyas Patil 75 Sep 28, 2022
MindInventory 15 Sep 5, 2022
Connect your flutter app to firebase, use firebase's Authentication. Don't mind my poor UI. 😬

flutter_email_auth A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you start

Syed Muhammad Ahmad 2 May 2, 2022
A package that gives us a modern way to show animated border as a placeholder while loading our widget with easy customization and ready to use.

A package that gives us a modern way to show animated border as a placeholder while loading our widget with easy customization and ready to use.

Mohit Chauhan 8 Oct 3, 2022
Flutter makes it easy and fast to build beautiful apps for mobile and beyond

Flutter is Google's SDK for crafting beautiful, fast user experiences for mobile, web, and desktop from a single codebase. Flutter works with existing

Flutter 148.2k Jan 8, 2023
flutter_thrio makes it easy and fast to add flutter to existing mobile applications, and provide a simple and consistent navigator APIs.

中文文档 英文文档 问题集 原仓库不再维护,代码已经很老了 最近版本更新会很快,主要是增加新特性,涉及到混合栈的稳定性的问题应该不多,可放心升级,发现问题加 QQ 群号码:1014085473,我会尽快解决。 不打算好好看看源码的使用者可以放弃这个库了,因为很多设定是比较死的,而我本人不打算花时间写

null 290 Dec 29, 2022
flutter_thrio makes it easy and fast to add flutter to existing mobile applications, and provide a simple and consistent navigator APIs.

本仓库不再维护,可移步新仓库 https://github.com/flutter-thrio/flutter_thrio 中文文档 问题集 QQ 群号码:1014085473 The Navigator for iOS, Android, Flutter. Version 0.2.2 requir

Hellobike 732 Dec 5, 2022