ErrorDisplayWidget constructor

const ErrorDisplayWidget({
  1. Key? key,
  2. required String message,
  3. VoidCallback? onRetry,
  4. double iconSize = 48,
  5. double textSize = 16,
  6. bool isCompact = false,
})

Creates a new ErrorDisplayWidget.

Implementation

const ErrorDisplayWidget({
  super.key,
  required this.message,
  this.onRetry,
  this.iconSize = 48,
  this.textSize = 16,
  this.isCompact = false,
});