ImageErrorWidgetBuilder typedef Null safety

ImageErrorWidgetBuilder = Widget Function(BuildContext context, Object error, StackTrace? stackTrace)

Signature used by Image.errorBuilder to create a replacement widget to render instead of the image.

Implementation

typedef ImageErrorWidgetBuilder = Widget Function(
  BuildContext context,
  Object error,
  StackTrace? stackTrace,
);