ImageErrorListener typedef

void ImageErrorListener (
  1. dynamic exception,
  2. 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);