EmptyStateWidget constructor

const EmptyStateWidget({
  1. required String message,
  2. String? title,
  3. IconData? icon,
  4. Widget? illustration,
  5. Widget? action,
  6. String? actionLabel,
  7. VoidCallback? onActionPressed,
  8. Key? key,
})

Creates an EmptyStateWidget.

Implementation

const EmptyStateWidget({
  required this.message,
  this.title,
  this.icon,
  this.illustration,
  this.action,
  this.actionLabel,
  this.onActionPressed,
  super.key,
});