uni_payments 0.0.8 copy "uni_payments: ^0.0.8" to clipboard
uni_payments: ^0.0.8 copied to clipboard

Unified Flutter API over Razorpay, Stripe, PayPal, Paystack, Flutterwave, Paytm, Cashfree, PhonePe, Google Pay and Apple Pay.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:google_fonts/google_fonts.dart';

import 'theme/app_theme.dart';
import 'ui/home_screen.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  SystemChrome.setSystemUIOverlayStyle(
    const SystemUiOverlayStyle(
      statusBarColor: Colors.transparent,
      statusBarIconBrightness: Brightness.light,
    ),
  );
  runApp(const UniPaymentsDemoApp());
}

/// Demo app shell. Dark-mode only — payment SDKs (Razorpay, Stripe,
/// Paytm, …) render their own modals on top, so a uniformly dark host
/// gives the cleanest contrast.
class UniPaymentsDemoApp extends StatelessWidget {
  /// Create the demo app shell.
  const UniPaymentsDemoApp({super.key});

  @override
  Widget build(BuildContext context) {
    final textTheme = GoogleFonts.interTextTheme();
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Uni Payments',
      theme: AppTheme.dark(textTheme),
      home: const HomeScreen(),
    );
  }
}
18
likes
0
points
321
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

Unified Flutter API over Razorpay, Stripe, PayPal, Paystack, Flutterwave, Paytm, Cashfree, PhonePe, Google Pay and Apple Pay.

Repository (GitHub)
View/report issues

Topics

#payments #stripe #razorpay #paypal #flutter

License

unknown (license)

Dependencies

braintree_flutter_plus, flutter, flutter_cashfree_pg_sdk, flutter_paystack_max, flutter_stripe, flutterwave_standard, pay, paytmpayments_allinonesdk, phonepe_payment_sdk, razorpay_flutter

More

Packages that depend on uni_payments