AssetBundlePictureKey class

Key for the picture obtained by an AssetPicture or ExactAssetPicture.

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

Inheritance
Annotations

Constructors

AssetBundlePictureKey({required AssetBundle bundle, required String name, ColorFilter? colorFilter, required SvgTheme theme})
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 color filter applied when this key was created.
finalinherited
hashCode int
The hash code for this object.
no setteroverride
keyData String
Some unique identifier for the source of this picture, e.g. a file name or URL.
finalinherited
name String
The key to use to obtain the resource from the bundle. This is the argument passed to AssetBundle.load.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
theme SvgTheme
The theme used when this key was created.
finalinherited

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