NiceErrorState constructor

const NiceErrorState({
  1. Key? key,
  2. String? title,
  3. String? message,
  4. NiceErrorType type = NiceErrorType.generic,
  5. VoidCallback? onRetry,
  6. String? retryLabel,
  7. Widget? action,
  8. IconData? icon,
  9. Color? color,
  10. double iconSize = 64,
  11. EdgeInsets? padding,
  12. 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,
});