standard_checkout_kit 1.0.1 standard_checkout_kit: ^1.0.1 copied to clipboard
The Paymentz Standard Checkout Kit Flutter plugin allows you to integrate Payment Gateway of Paymentz into your application. This plugin has been designed to minimise the complexity of handling and in [...]
import 'package:flutter/material.dart';
import 'package:standard_checkout_kit_example/home.dart';
void main() {
runApp(const MyApp());
}
class NavigationService {
static final navigatorKey = GlobalKey<NavigatorState>();
// ... other methods and getters
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Checkout Kit Demo',
navigatorKey: NavigationService.navigatorKey,
theme: ThemeData(
scaffoldBackgroundColor: Colors.blue.shade100,
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: const HomePage(),
);
}
@override
void initState() {
super.initState();
}
}