EmptyStateWidget constructor

const EmptyStateWidget({
  1. Key? key,
  2. required String title,
  3. String? description,
  4. String? svgAsset,
  5. double illustrationSize = 120,
  6. ColorModel? illustrationColor,
  7. String? actionLabel,
  8. VoidCallback? onAction,
  9. 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,
});