ArcaneEmptyState.error constructor
ArcaneEmptyState.error({
- String title = 'Something went wrong',
- String? description = 'An error occurred while loading the content.',
- Widget? action,
- Widget? secondaryAction,
- EmptyStateStyle variant = EmptyStateStyle.centered,
- EmptyStateSize size = EmptyStateSize.md,
- ArcaneStyleData? styles,
- ArcaneDecoration? decoration,
- Key? key,
Implementation
ArcaneEmptyState.error({
this.title = 'Something went wrong',
this.description = 'An error occurred while loading the content.',
this.action,
this.secondaryAction,
this.variant = EmptyStateStyle.centered,
this.size = EmptyStateSize.md,
this.styles,
this.decoration,
super.key,
}) : icon = ArcaneIcon.triangleAlert(size: IconSize.lg);