anypay 0.0.1-dev.5 copy "anypay: ^0.0.1-dev.5" to clipboard
anypay: ^0.0.1-dev.5 copied to clipboard

AnyPay is a lightweight Flutter package for displaying customizable payment UI with animated result screens

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:anypay/anypay.dart';

import 'dummy_gateway.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: "AnyPay Example",
      theme: ThemeData(primarySwatch: Colors.orange),
      home: AnyPay(
        title: "AnyPay Demo",
        amount: 500, // Amount to pay
        gateway: DummyGateway(), // Your payment gateway
        theme: const AnyPayTheme(
          primaryColor: Colors.orange,
          successColor: Colors.green,
          failureColor: Colors.red,
        ),
      ),
    );
  }
}
2
likes
0
points
539
downloads

Publisher

unverified uploader

Weekly Downloads

AnyPay is a lightweight Flutter package for displaying customizable payment UI with animated result screens

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

flutter

More

Packages that depend on anypay