load method

  1. @override
ImageStreamCompleter load(
  1. UiImage key,
  2. Future<Codec> decode(
    1. Uint8List, {
    2. bool allowUpscaling,
    3. int? cacheHeight,
    4. int? cacheWidth,
    })
)

Implementation

@override
ImageStreamCompleter load(UiImage key, Future<ui.Codec> Function(Uint8List, {bool allowUpscaling, int? cacheHeight, int? cacheWidth}) decode) =>
    OneFrameImageStreamCompleter(_loadAsync(key));