loadBufferAsync method

Stream<Codec> loadBufferAsync(
  1. String url,
  2. String? cacheKey,
  3. StreamController<ImageChunkEvent> chunkEvents,
  4. DecoderBufferCallback decode,
  5. BaseCacheManager cacheManager,
  6. int? maxHeight,
  7. int? maxWidth,
  8. Map<String, String>? headers,
  9. dynamic errorListener()?,
  10. ImageRenderMethodForWeb imageRenderMethodForWeb,
  11. dynamic evictImage(),
)

loads the images async and gives the resulted codecs on a Stream. The Stream gives the option to show multiple images after each other.

Implementation

Stream<ui.Codec> loadBufferAsync(
  String url,
  String? cacheKey,
  StreamController<ImageChunkEvent> chunkEvents,
  DecoderBufferCallback decode,
  BaseCacheManager cacheManager,
  int? maxHeight,
  int? maxWidth,
  Map<String, String>? headers,
  Function()? errorListener,
  ImageRenderMethodForWeb imageRenderMethodForWeb,
  Function() evictImage,
) {
  throw UnimplementedError();
}