LokotroErrorScreen constructor
const
LokotroErrorScreen({
- Key? key,
- required String message,
- String title = 'Payment Failed',
- VoidCallback? onRetry,
- VoidCallback? onClose,
- bool hideAllButtons = false,
- IconData? customIcon,
- Color? iconColor,
- TextStyle? titleStyle,
- TextStyle? messageStyle,
- int autoRedirectSeconds = 0,
- 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,
});