EmptyState constructor

const EmptyState({
  1. Key? key,
  2. IconData? icon,
  3. required String title,
  4. String? message,
  5. String? actionLabel,
  6. VoidCallback? onAction,
  7. bool compact = false,
  8. Color? iconColor,
  9. Color? background,
})

Implementation

const EmptyState({
  super.key,
  this.icon,
  required this.title,
  this.message,
  this.actionLabel,
  this.onAction,
  this.compact = false,
  this.iconColor,
  this.background,
});