flutterbudpay 0.0.1 copy "flutterbudpay: ^0.0.1" to clipboard
flutterbudpay: ^0.0.1 copied to clipboard

outdated

A Flutter plugin for making payments via BudPay Payment Gateway. Completely supports all the platform.

example/lib/main.dart

import 'package:example/newpage.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

import 'themeclass.dart';

// To get started quickly, change this to your heroku deployment of
// https://github.com/PaystackHQ/sample-charge-card-backend
// Step 1. Visit https://github.com/PaystackHQ/sample-charge-card-backend
// Step 2. Click "Deploy to heroku"
// Step 3. Login with your heroku credentials or create a free heroku account
// Step 4. Provide your secret key and an email with which to start all test transactions
// Step 5. Replace {YOUR_BACKEND_URL} below with the url generated by heroku (format https://some-url.herokuapp.com)
String backendUrl = '{YOUR_BACKEND_URL}';
// Set this to a public key that matches the secret key you supplied while creating the heroku instance
String budpayPublicKey = '{YOUR_budpay_PUBLIC_KEY}';
const String appName = 'Budpay Example';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: appName,
      debugShowCheckedModeBanner: false,
      themeMode: ThemeMode.system,
      theme: ThemeClass.lightTheme,
      darkTheme: ThemeClass.darkTheme,
      home: Newpage(),
    );
  }
}

const Color green = Color(0xFF3db76d);
const Color lightBlue = Color(0xFF34a5db);
const Color navyBlue = Color(0xFF031b33);
5
likes
0
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for making payments via BudPay Payment Gateway. Completely supports all the platform.

Homepage

License

unknown (license)

Dependencies

device_info_plus, encrypt, flutter, gainer_crypto, http, intl, package_info_plus, platform_info, timer_count_down, webview_flutter

More

Packages that depend on flutterbudpay