DefaultEmptyWidget constructor

const DefaultEmptyWidget({
  1. Key? key,
  2. required VoidCallback onRetry,
  3. String message = 'No data available',
  4. IconData? icon,
  5. bool showRetryButton = true,
})

Creates a DefaultEmptyWidget.

Implementation

const DefaultEmptyWidget({
  super.key,
  required this.onRetry,
  this.message = 'No data available',
  this.icon,
  this.showRetryButton = true,
});