load method

  1. @override
ImageStreamCompleter load (MemoryImage key)
override

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

Implementation

@override
ImageStreamCompleter load(MemoryImage key) {
  return MultiFrameImageStreamCompleter(
    codec: _loadAsync(key),
    scale: key.scale
  );
}