flutter_ortho 0.0.5 copy "flutter_ortho: ^0.0.5" to clipboard
flutter_ortho: ^0.0.5 copied to clipboard

flutter ortho package

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 #

Name Type Required Default Value Description
slug String true nill slug for service you want to integrate, see slug list here
config object true nill config of app you intend to integrate
color Color true nill color of bottomsheet you want
orthoKey String true nill Ortho key provided to you on your dashboard
1
likes
120
pub points
0%
popularity

Publisher

unverified uploader

flutter ortho package

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dio, flutter, webview_flutter

More

Packages that depend on flutter_ortho