AssetBundleImageKey class

Key for the image obtained by an AssetImage or ExactAssetImage.

This is used to identify the precise resource in the imageCache.

Annotations

Constructors

AssetBundleImageKey({required AssetBundle bundle, required String name, required double scale})
Creates the key for an AssetImage or AssetBundleImageProvider.
const

Properties

bundle AssetBundle
The bundle from which the image will be obtained.
final
hashCode int
The hash code for this object.
no setteroverride
name String
The key to use to obtain the resource from the bundle. This is the argument passed to AssetBundle.load.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
The scale to place in the ImageInfo object of the image.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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