ExtendedAssetBundleImageKey class Null safety

Inheritance

Constructors

ExtendedAssetBundleImageKey({required AssetBundle bundle, required String name, required double scale, required bool cacheRawData, required String? imageCacheName})
const

Properties

bundle AssetBundle
The bundle from which the image will be obtained. [...]
final, inherited
cacheRawData bool
Whether cache raw data if you need to get raw data directly. For example, we need raw image data to edit, but ui.Image.toByteData() is very slow. So we cache the image data here.
final
hashCode int
The hash code for this object. [...]
read-only, override
imageCacheName String?
The name of ImageCache, you can define custom ImageCache to store this provider.
final
name String
The key to use to obtain the resource from the bundle. This is the argument passed to AssetBundle.load.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scale double
The scale to place in the ImageInfo object of the image.
final, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
override