Key for the image obtained by an AssetImage or ExactAssetImage.
This is used to identify the precise resource in the imageCache.
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.
read-only - hashCode → int
-
read-only
- name → String
-
The key to use to obtain the resource from the bundle. This is the argument passed to AssetBundle.load.
read-only - scale → double
-
The scale to place in the ImageInfo object of the image.
read-only - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
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