ImageErrorListener typedef

void ImageErrorListener (dynamic 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(dynamic exception, StackTrace stackTrace);