ImageCacheStatus class Null safety
Information about how the ImageCache is tracking an image.
A keepAlive image is being held in the cache, which uses Least Recently Used semantics to determine when to evict an image. These images are subject to eviction based on ImageCache.maximumSizeBytes and ImageCache.maximumSize. It may be live, but not pending.
An untracked image is not being cached.
- hashCode → int
The hash code for this object. [...]
- keepAlive → bool
An image that has been submitted to ImageCache.putIfAbsent, has
completed, fits based on the sizing rules of the cache, and has not been
- live → bool
An image that has been submitted to ImageCache.putIfAbsent and has at
least one listener on its ImageStreamCompleter. [...]
- pending → bool
An image that has been submitted to ImageCache.putIfAbsent, but
not yet completed.
- runtimeType → Type
A representation of the runtime type of the object.
- tracked → bool
An image that is tracked in some way by the ImageCache, whether
pending, keepAlive, or live.
- untracked → bool
An image that either has not been submitted to
ImageCache.putIfAbsent or has otherwise been evicted from the
keepAlive and live caches.