loadBufferAsync method

  1. @Deprecated('Use loadImageAsync instead')
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. VoidCallback? errorListener,
  10. ImageRenderMethodForWeb imageRenderMethodForWeb,
  11. VoidCallback 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

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