loadAsync method
- @Deprecated('use loadBufferAsync instead')
- String url,
- String? cacheKey,
- StreamController<
ImageChunkEvent> chunkEvents, - dynamic decode,
- BaseCacheManager cacheManager,
- int? maxHeight,
- int? maxWidth,
- Map<
String, String> ? headers, - dynamic errorListener()?,
- ImageRenderMethodForWeb imageRenderMethodForWeb,
- 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
@Deprecated('use loadBufferAsync instead')
Stream<ui.Codec> loadAsync(
String url,
String? cacheKey,
StreamController<ImageChunkEvent> chunkEvents,
DecoderCallback decode,
BaseCacheManager cacheManager,
int? maxHeight,
int? maxWidth,
Map<String, String>? headers,
Function()? errorListener,
ImageRenderMethodForWeb imageRenderMethodForWeb,
Function() evictImage,
) {
throw UnimplementedError();
}