LokotroSuccessScreen constructor
const
LokotroSuccessScreen({
- Key? key,
- required String message,
- String title = 'Payment Successful!',
- VoidCallback? onContinue,
- VoidCallback? onClose,
- bool hideAllButtons = false,
- IconData? customIcon,
- Color? iconColor,
- TextStyle? titleStyle,
- TextStyle? messageStyle,
- LokotroPayOnResponse? paymentResponse,
- String? merchantName,
- String? merchantAddress,
- String? customerName,
- String? customerEmail,
- Map<
String, dynamic> ? additionalInfo, - int autoRedirectSeconds = 0,
- VoidCallback? onAutoRedirect,
Implementation
const LokotroSuccessScreen({
super.key,
required this.message,
this.title = 'Payment Successful!',
this.onContinue,
this.onClose,
this.hideAllButtons = false,
this.customIcon,
this.iconColor,
this.titleStyle,
this.messageStyle,
this.paymentResponse,
this.merchantName,
this.merchantAddress,
this.customerName,
this.customerEmail,
this.additionalInfo,
this.autoRedirectSeconds = 0,
this.onAutoRedirect,
});