SwitchpayPaymentScreen constructor
SwitchpayPaymentScreen({
- Key? key,
- required String responseHTML,
- required dynamic onTransactionCompleted(),
- required dynamic onErrorOccurred(
- SwitchpayError errors
- required dynamic onCancel(),
SwitchpayPaymentScreen.
This is a widget. which is used for WebView of Switchpay.
Implementation
SwitchpayPaymentScreen(
{Key? key,
required this.responseHTML,
required this.onTransactionCompleted,
required this.onErrorOccurred,
required this.onCancel})
: super(key: key);