Flutter-Ortho

Official Ortho SDK for Flutter applications.

Features

Ortho helps you integrate SDK with ease, connect to services like Paystack, Okra, Mono, thePeer, and load more with one integration.

Getting started

This Library will help you add Ortho widget to your hybrid android/ios applictions. Steps to achieve this include:

Installation

To use this package, add in pubspec.yaml

dependencies:
  flutter_ortho: 0.0.5

Usage

const config = {
                    "publicKey":
                        "<your-public-key>",
                    "amount": 90000,
                    "currency": "NGN",
                    "email": "just1and0@tryortho.co",
                    "short-url":"<short-url>",
                    "city": "abuja",
                    "state": "Nigeria"
                  };

                  ///slug name (payment sdk medium)
                  const slug = 'Ortho-lazerpay-checkout-pro';

                   OrthoModel reply = await FlutterOrtho.create(
                    orthoKey: '<insert-your-key>',
                    context: context,
                    bottomSheetColor: Colors.green,
                    slug: slug,
                    config: config,
                  );
                },

Ortho.Community Options

NameTypeRequiredDefault ValueDescription
slugStringtruenillslug for service you want to integrate, see slug list here
configobjecttruenillconfig of app you intend to integrate
colorColortruenillcolor of bottomsheet you want
orthoKeyStringtruenillOrtho key provided to you on your dashboard

Libraries

flutter_ortho
flutter_ortho_widget
ortho_model
ortho_web