AssetBundleImageKey class
Key for the image obtained by an AssetImage or ExactAssetImage.
This is used to identify the precise resource in the imageCache.
- Annotations
- @immutable
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. [...]
read-only
- name → String
-
The key to use to obtain the resource from the
bundle
. This is the argument passed toAssetBundle.load
.final - scale → double
-
The scale to place in the
ImageInfo
object of the image.final - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
toString(
) → String - Returns a string representation of this object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
Operators
-
operator ==(
dynamic other) → bool - The equality operator. [...]