ImageStreamCompleterHandle class Null safety

An opaque handle that keeps an ImageStreamCompleter alive even if it has lost its last listener.

To create a handle, use ImageStreamCompleter.keepAlive.

Such handles are useful when an image cache needs to keep a completer alive but does not actually have a listener subscribed, or when a widget that displays an image needs to temporarily unsubscribe from the completer but may re-subscribe in the future, for example when the TickerMode changes.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

dispose() → void
Call this method to signal the ImageStreamCompleter that it can now be disposed when its last listener drops.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited