ErrorDisplayWidget.compact constructor
- Key? key,
- required String message,
- VoidCallback? onRetry,
Creates a compact version of the error widget for smaller spaces.
Implementation
const ErrorDisplayWidget.compact({
super.key,
required this.message,
this.onRetry,
}) : iconSize = 32,
textSize = 14,
isCompact = true;