ImageErrorListener typedef

ImageErrorListener = void Function(Object exception, StackTrace? stackTrace)

Signature for reporting errors when resolving images.

Used in ImageStreamListener, as well as by ImageCache.putIfAbsent and precacheImage, to report errors.

Implementation

typedef ImageErrorListener = void Function(Object exception, StackTrace? stackTrace);