FlameNetworkImages class

A specialized FlameAssetResponse that can be used to load Images.

{@macro flame_network_assets}

Inheritance

Constructors

FlameNetworkImages.new({GetAssetFunction? get, GetAppDirectoryFunction? getAppDirectory, bool cacheInMemory = true, bool cacheInStorage = true})
A specialized FlameAssetResponse that can be used to load Images.

Properties

cacheInMemory bool
Flag indicating if files will be cached in memory.
finalinherited
cacheInStorage bool
Flag indicating if files will be cached in the local storage.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

load(String url, {Map<String, String>? headers}) Future<Image>
Loads the asset from the given url.
inherited
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