load method

  1. @override
ImageStreamCompleter load (
  1. T key,
  2. DecoderCallback decode
)
override

Converts a key into an ImageStreamCompleter, and begins fetching the image.

The decode callback provides the logic to obtain the codec for the image.

See also:

  • ResizeImage, for modifying the key to account for cache dimensions.

Implementation

@override
ImageStreamCompleter load(T key, DecoderCallback decode) => imageProvider.load(key, decode);