PrismEmptyState constructor

const PrismEmptyState({
  1. Key? key,
  2. IconData? icon,
  3. required String title,
  4. String? subtitle,
  5. String? actionLabel,
  6. VoidCallback? onAction,
  7. Color? color,
  8. bool compact = false,
})

Creates an empty state.

Implementation

const PrismEmptyState({
  super.key,
  this.icon,
  required this.title,
  this.subtitle,
  this.actionLabel,
  this.onAction,
  this.color,
  this.compact = false,
});