PictureKey<T> class

An immutable key representing the current state of a PictureProvider.

Annotations

Constructors

PictureKey(T keyData, {required ColorFilter? colorFilter, required SvgTheme theme})
Creates a new immutable key reprenseting the current state of a PictureProvider for the PictureCache.
const

Properties

colorFilter ColorFilter?
The color filter applied when this key was created.
final
hashCode int
The hash code for this object.
no setteroverride
keyData → T
Some unique identifier for the source of this picture, e.g. a file name or URL.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
theme SvgTheme
The theme used when this key was created.
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 ==(dynamic other) bool
The equality operator.
override