LokotroSuccessScreen constructor

const LokotroSuccessScreen({
  1. Key? key,
  2. required String message,
  3. String title = 'Payment Successful!',
  4. VoidCallback? onContinue,
  5. VoidCallback? onClose,
  6. bool hideAllButtons = false,
  7. IconData? customIcon,
  8. Color? iconColor,
  9. TextStyle? titleStyle,
  10. TextStyle? messageStyle,
  11. LokotroPayOnResponse? paymentResponse,
  12. String? merchantName,
  13. String? merchantAddress,
  14. String? customerName,
  15. String? customerEmail,
  16. Map<String, dynamic>? additionalInfo,
  17. int autoRedirectSeconds = 0,
  18. 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,
});