TEmptyState constructor
const
TEmptyState({
- Key? key,
- dynamic icon,
- Widget? image,
- String? title,
- Widget? titleWidget,
- String? description,
- Widget? descriptionWidget,
- Widget? action,
- Widget? secondaryAction,
- bool compact = false,
- EdgeInsetsGeometry padding = const EdgeInsets.all(32.0),
- Color? iconColor,
- Color? iconBackgroundColor,
- double? iconSize,
Creates a customizable empty state widget.
Implementation
const TEmptyState({
super.key,
this.icon,
this.image,
this.title,
this.titleWidget,
this.description,
this.descriptionWidget,
this.action,
this.secondaryAction,
this.compact = false,
this.padding = const EdgeInsets.all(32.0),
this.iconColor,
this.iconBackgroundColor,
this.iconSize,
});