khaime_flutter 0.1.0 copy "khaime_flutter: ^0.1.0" to clipboard
khaime_flutter: ^0.1.0 copied to clipboard

Khaime Checkout SDK for Flutter. Accept payments globally with a single widget.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'src/screens/product_screen.dart';

void main() => runApp(const ExampleApp());

/// A miniature storefront showing how a merchant app uses the Khaime SDK.
///
/// The flow mirrors a real integration: browse, collect buyer details, ask
/// *your* backend for a payment token, then hand that token to
/// `KhaimeCheckout` and let it pick the gateway.
class ExampleApp extends StatelessWidget {
  const ExampleApp({super.key});

  @override
  Widget build(BuildContext context) => MaterialApp(
        title: 'Khaime Store',
        debugShowCheckedModeBanner: false,
        theme: ThemeData(
          useMaterial3: true,
          colorSchemeSeed: const Color(0xFF0070F3),
          brightness: Brightness.light,
        ),
        darkTheme: ThemeData(
          useMaterial3: true,
          colorSchemeSeed: const Color(0xFF0070F3),
          brightness: Brightness.dark,
        ),
        home: const ProductScreen(),
      );
}
0
likes
150
points
78
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Khaime Checkout SDK for Flutter. Accept payments globally with a single widget.

Homepage
Repository (GitHub)
View/report issues

Topics

#payments #checkout #stripe #paystack

License

MIT (license)

Dependencies

flutter, flutter_stripe, intl, url_launcher, webview_flutter

More

Packages that depend on khaime_flutter