ArcaneEmptyState.error constructor

ArcaneEmptyState.error({
  1. String title = 'Something went wrong',
  2. String? description = 'An error occurred while loading the content.',
  3. Widget? action,
  4. Widget? secondaryAction,
  5. EmptyStateStyle style = EmptyStateStyle.centered,
  6. EmptyStateSize size = EmptyStateSize.md,
  7. Key? key,
})

Implementation

ArcaneEmptyState.error({
  this.title = 'Something went wrong',
  this.description = 'An error occurred while loading the content.',
  this.action,
  this.secondaryAction,
  this.style = EmptyStateStyle.centered,
  this.size = EmptyStateSize.md,
  super.key,
}) : icon = ArcaneIcon.triangleAlert(size: IconSize.lg);