SwitchpayPaymentScreen constructor

SwitchpayPaymentScreen({
  1. Key? key,
  2. required String responseHTML,
  3. required dynamic onTransactionCompleted(),
  4. required dynamic onErrorOccurred(
    1. SwitchpayError errors
    ),
  5. 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);