TEmptyState.compact constructor
const
TEmptyState.compact({})
Creates a compact empty state for small cards, popovers, or table cells.
Implementation
const TEmptyState.compact({
super.key,
this.icon = Icons.inbox_outlined,
String message = 'No items found',
this.action,
this.iconColor,
this.iconBackgroundColor,
this.padding = const EdgeInsets.symmetric(horizontal: 16.0, vertical: 12.0),
}) : title = null,
titleWidget = null,
description = message,
descriptionWidget = null,
secondaryAction = null,
image = null,
compact = true,
iconSize = 20.0;