ModulaErrorState constructor

const ModulaErrorState({
  1. Key? key,
  2. Widget? icon,
  3. String? title,
  4. String? description,
  5. String? errorCode,
  6. Widget? action,
  7. Color? iconColor,
  8. TextStyle? titleStyle,
  9. TextStyle? descriptionStyle,
  10. TextStyle? errorCodeStyle,
  11. EdgeInsetsGeometry? padding,
  12. double spacing = 16,
  13. ModulaErrorStateType type = ModulaErrorStateType.generic,
})

Implementation

const ModulaErrorState({
  super.key,
  this.icon,
  this.title,
  this.description,
  this.errorCode,
  this.action,
  this.iconColor,
  this.titleStyle,
  this.descriptionStyle,
  this.errorCodeStyle,
  this.padding,
  this.spacing = 16,
  this.type = ModulaErrorStateType.generic,
});