errorBuilder property

Widget Function(BuildContext context, String errorMessage, VoidCallback onRetry)? errorBuilder
final

Custom builder for error state Parameters: context, error message, retry callback If null, shows simple error text with retry button

Implementation

final Widget Function(
  BuildContext context,
  String errorMessage,
  VoidCallback onRetry,
)?
errorBuilder;