EmptyStateWidget constructor
const
EmptyStateWidget({
- Key? key,
- required String title,
- String? description,
- String? svgAsset,
- double illustrationSize = 120,
- ColorModel? illustrationColor,
- String? actionLabel,
- VoidCallback? onAction,
- EdgeInsets? padding,
Creates an empty-state widget.
Implementation
const EmptyStateWidget({
super.key,
required this.title,
this.description,
this.svgAsset,
this.illustrationSize = 120,
this.illustrationColor,
this.actionLabel,
this.onAction,
this.padding,
});