AssetBundlePictureKey class

Key for the picture obtained by an AssetPicture or ExactAssetPicture.

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

Annotations

Constructors

AssetBundlePictureKey({required AssetBundle bundle, required String name, ColorFilter? colorFilter})
Creates the key for an AssetPicture or AssetBundlePictureProvider.
const

Properties

bundle AssetBundle
The bundle from which the picture will be obtained.
final
colorFilter ColorFilter?
The ColorFilter, if any, to be applied to the drawing.
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

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 ==(dynamic other) bool
The equality operator.
override