ArcaneEmptyState.error constructor

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

Implementation

const 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 = null,
      emoji = '⚠️';