ImageLoader class

ImageLoader class to load images differently on various platforms.

Constructors

ImageLoader()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

loadAsync(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()) Stream<Codec>
loads the images async and gives the resulted codecs on a Stream. The Stream gives the option to show multiple images after each other.
loadBufferAsync(String url, String? cacheKey, StreamController<ImageChunkEvent> chunkEvents, DecoderBufferCallback decode, BaseCacheManager cacheManager, int? maxHeight, int? maxWidth, Map<String, String>? headers, dynamic errorListener()?, ImageRenderMethodForWeb imageRenderMethodForWeb, dynamic evictImage()) Stream<Codec>
loads the images async and gives the resulted codecs on a Stream. The Stream gives the option to show multiple images after each other.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited