errorBuilder static method
Widget
errorBuilder(
- BuildContext context,
- Object error,
- StackTrace? stackTrace,
- double size,
- double radius,
- Color? errorBackgroundColor,
- Color? errorTextColor,
- String? errorText,
Implementation
static Widget errorBuilder(
BuildContext context,
Object error,
StackTrace? stackTrace,
double size,
double radius,
Color? errorBackgroundColor,
Color? errorTextColor,
String? errorText,
) {
return _imageErrorWidget(
height: size,
width: size,
radius: radius,
altText: errorText ?? "Error",
altTextColor: errorTextColor,
background: errorBackgroundColor ?? Colors.grey,
);
}