Official plugin for using Thepeer SDK with flutter https://thepeer.co

Overview

Flutter Thepeer

This package makes it easy to use the Thepeer in a flutter project.

πŸ“Έ Screen Shots

thepeer-one thepeer-two thepeer-three

πŸš€ How to Use plugin

ThePeer Send

  • Launch ThepeerSendView in a bottom_sheet
import 'package:thepeer_flutter/thepeer_flutter.dart';
    
  void launch() async {
    await ThepeerSendView(
            data: ThePeerData(
               amount: 10000,
               firstName: '$firstName',
               receiptUrl: '$receiptUrl',
               publicKey: '$publicKey',
               userReference: '$userReference',
            ),
            showLogs: true,
            onClosed: () {
               Navigator.pop(context);
            },
            onSuccess: () {
               Navigator.pop(context);
            },
      ).show(context);
  }
  • Use ThepeerView widget
import 'package:thepeer_flutter/thepeer_flutter.dart';
    
     ...

     ThepeerSendView(
         data: ThePeerData(
               amount: 10000,
               firstName: '$firstName',
               receiptUrl: '$receiptUrl',
               publicKey: '$publicKey',
               userReference: '$userReference',
         ),
         onClosed: () {
            Navigator.pop(context);
            print('Widget closed')
         },
         onSuccess: () {
            Navigator.pop(context);
         },
        error: Text('Error'),
      )

      ...
  

ThePeer DirectCharge

  • Launch ThepeerDirectChargeView in a bottom_sheet
import 'package:thepeer_flutter/thepeer_flutter.dart';
    
  void launch() async {
    await ThepeerDirectChargeView(
            data: ThePeerData(
               amount: 10000,
               firstName: '$firstName',
               publicKey: '$publicKey',
               userReference: '$userReference',
            ),
            showLogs: true,
            onClosed: () {
               Navigator.pop(context);
            },
            onSuccess: () {
               Navigator.pop(context);
            },
      ).show(context);
  }
  • Use ThepeerView widget
import 'package:thepeer_flutter/thepeer_flutter.dart';
    
     ...

     ThepeerDirectChargeView(
         data: ThePeerData(
               amount: 10000,
               firstName: '$firstName',
               publicKey: '$publicKey',
               userReference: '$userReference',
         ),
         onClosed: () {
            Navigator.pop(context);
            print('Widget closed')
         },
         onSuccess: () {
            Navigator.pop(context);
         },
        error: Text('Error'),
      )

      ...
  

✨ Contribution

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

You might also like...

The official country code picker from Tellurium by Quadren. Designed with our in-house Aurum design system.

The official country code picker from Tellurium by Quadren. Designed with our in-house Aurum design system. Features Supports searching for country co

Aug 9, 2022

A Flutter plugin for the Google Mobile Ads SDK

A Flutter plugin for the Google Mobile Ads SDK

Jan 2, 2023

A Flutter plugin that supports Pangle SDK on Android and iOS.

A Flutter plugin that supports Pangle SDK on Android and iOS.

Thanks for non-commercial open source development authorization by JetBrains. η©Ώε±±η”² Flutter SDK `pangle_flutter`ζ˜―δΈ€ζ¬Ύι›†ζˆδΊ†ε­—θŠ‚θ·³εŠ¨η©Ώε±±η”² Android ε’Œ iOS SDKηš„ Flutter

Dec 2, 2022

A Flutter plugin for Yandex AppMetrica SDK, a marketing platform for app install attribution, app analytics, and push campaigns.

appmetrica_sdk A Flutter plugin for Yandex AppMetrica SDK. Plugin implementation status Implemented Events Profiles Not implemented yet Revenue. Comin

Oct 21, 2021

P2P payment solution using Stream's Flutter SDK and Rapyd's Wallet API

P2P payment solution using Stream's Flutter SDK and Rapyd's Wallet API

Peer-to-peer payment integration to a messaging app using Flutter πŸ’° This project shows how to integrate a peer-to-peer payment solution to your Strea

Dec 8, 2022

A simple chat app UI using flutter SDK project.

A simple chat app UI using flutter SDK project.

Chatty App A simple chat app UI using flutter SDK project. Screenshot Getting Started This project is a starting point for a Flutter application. A fe

Jul 15, 2022

Cross platform application for iOS and Android using Google's SDK Flutter.

Cross platform application for iOS and Android using Google's SDK Flutter.

scout Cross platform application for iOS and Android using Google's SDK Flutter. Launch screen for the application. The menu for selecting cookies. Cu

Nov 9, 2021

A Social App Built Using FLutter SDK.

 A Social App Built Using FLutter SDK.

Hi πŸ‘‹ , I'm Faheem πŸ‘©β€πŸ’» A Social App Built Using FLutter SDK. The main objective of this application is to provide a single platform for the Students

Nov 10, 2022

Sample app to demonstrate the integration and working of Dyte SDK for mobile, using Flutter.

Sample app to demonstrate the integration and working of Dyte SDK for mobile, using Flutter.

Flutter Sample App by dyte Sample App to demonstrate Dyte SDK in flutter Explore the docs Β» View Demo Β· Report Bug Β· Request Feature Table of Contents

Jan 1, 2023
Owner
The Peer
The Peer
Stream Feed official Flutter SDK. Build your own feed experience using Dart and Flutter.

Official Flutter packages for Stream Activity Feeds The official Dart client for Stream Activity Feeds, a service for building activity feed applicati

Stream 67 Sep 26, 2022
Pensil Community official Flutter SDK. Build your own community experience using Dart and Flutter.

Official flutter package for Pensil The official Dart client for Pensil communities, a service for building communites applications. This library can

Pensil Inc 6 Oct 6, 2022
Official Flutter SDK for Khalti Payment systems

Khalti Payment Gateway for Flutter Use Khalti Payment Gateway solution in your app or website to simplify payment for your customers. You do not need

Khalti 16 Oct 13, 2022
The official sdk for the user-friendly API of Mega services on the Dart language.

megasdkdart The official sdk for the user-friendly API of Mega services in the Dart language. Example: import 'package:megasdkdart/megasdkdart.dart';

meg4cyberc4t 4 Mar 30, 2022
Official sdk for vchat

V_Chat_SDK Micro service Check Our Full documention VCHAT DOCS Quick Review Android IOS Don't forget to see the example attached to github here V_CHAT

Hatem Ragab 42 Dec 17, 2022
This is a Yoga app made in Flutter. This is an integration of a model that i found on https://www.uistore.design.

Yoguha A Flutter project made with Firebase that helps you for your next Yoga sessions. It contains : An authentication system A timer Some relaxing p

Scythe 2 Feb 1, 2022
An flutter package to use DevIcons https://devicon.dev/

dev_icons This flutter package allows you to use all the Dev Icons. You can view the icons catalog on devicon.dev Installation In the dependencies: se

Festus Olusegun 22 Oct 9, 2022
Official mobile app of Flutter Europe 2020 conference

Flutter Europe conference app Deploy to Firebase Tests Deploy to stores This is repository of Flutter Europe official conference app. Agenda Ticket Da

Flutter Europe 258 Oct 29, 2022
A cross platform GUI, soon to be the official GUI.

CCExtractor Flutter GUI The new cross platform interface is all you need, as it includes all the options. After installing GUI you will have a shortcu

CCExtractor Development 16 Nov 19, 2022
This is an official mobile app for community classroom

Community Classroom Mobile app This repository contains code for mobile app of community classroom. Architecture to be followed for each feature: We a

Community Classroom 60 Nov 20, 2022