ImageStreamCompleter class

Base class for those that manage the loading of dart:ui.Image objects for ImageStreams.

ImageStreamListener objects are rarely constructed directly. Generally, an ImageProvider subclass will return an ImageStream and automatically configure it with the right ImageStreamCompleter when possible.

Inheritance
Implemented by

Constructors

ImageStreamCompleter()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addListener(ImageListener listener) → void
Adds a listener callback that is called whenever a new concrete ImageInfo object is available. If a concrete image is already available, this object will call the listener synchronously. [...]
debugFillProperties(DiagnosticPropertiesBuilder description) → void
Accumulates a list of strings describing the object's state. Subclasses should override this to have their information included in toString.
removeListener(ImageListener listener) → void
Stop listening for new concrete ImageInfo objects.
setImage(ImageInfo image) → void
Calls all the registered listeners to notify them of a new image.
@protected
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toDiagnosticsNode({String name, DiagnosticsTreeStyle style }) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by toStringDeep. [...]
inherited
toString({DiagnosticLevel minLevel: DiagnosticLevel.debug }) String
Returns a string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited