NiceErrorState constructor
const
NiceErrorState({
- Key? key,
- String? title,
- String? message,
- NiceErrorType type = NiceErrorType.generic,
- VoidCallback? onRetry,
- String? retryLabel,
- Widget? action,
- IconData? icon,
- Color? color,
- double iconSize = 64,
- EdgeInsets? padding,
- bool showIcon = true,
Implementation
const NiceErrorState({
super.key,
this.title,
this.message,
this.type = NiceErrorType.generic,
this.onRetry,
this.retryLabel,
this.action,
this.icon,
this.color,
this.iconSize = 64,
this.padding,
this.showIcon = true,
});