PaymentWebView constructor
const
PaymentWebView({})
Constructor for PaymentWebView widget.
initialUrl
- The initial URL to load in the webview.
callBackUrl
- The callback URL used to detect payment completion.
onPaymentCallbackReached
- Callback function to handle payment completion.
webViewTitle
- The title of the webview.
textColor
- The text color used in the app.
themeColor
- The theme color used in the app.
Implementation
const PaymentWebView({
super.key,
required this.initialUrl,
required this.callBackUrl,
required this.onPaymentCallbackReached,
required this.webViewTitle,
required this.textColor,
required this.themeColor,
});