imageErrorBuilder property

ImageErrorWidgetBuilder? imageErrorBuilder
final

A builder function that is called if an error occurs during image loading.

If this builder is not provided, any exceptions will be reported to FlutterError.onError. If it is provided, the caller should either handle the exception by providing a replacement widget, or rethrow the exception.

Implementation

final ImageErrorWidgetBuilder? imageErrorBuilder;