LokotroErrorScreen constructor

const LokotroErrorScreen({
  1. Key? key,
  2. required String message,
  3. String title = 'Payment Failed',
  4. VoidCallback? onRetry,
  5. VoidCallback? onClose,
  6. bool hideAllButtons = false,
  7. IconData? customIcon,
  8. Color? iconColor,
  9. TextStyle? titleStyle,
  10. TextStyle? messageStyle,
  11. int autoRedirectSeconds = 0,
  12. VoidCallback? onAutoRedirect,
})

Implementation

const LokotroErrorScreen({
  super.key,
  required this.message,
  this.title = 'Payment Failed',
  this.onRetry,
  this.onClose,
  this.hideAllButtons = false,
  this.customIcon,
  this.iconColor,
  this.titleStyle,
  this.messageStyle,
  this.autoRedirectSeconds = 0,
  this.onAutoRedirect,
});