OneFramePictureStreamCompleter class

Manages the loading of dart:ui.Picture objects for static PictureStreams (those with only one frame).

Inheritance

Constructors

OneFramePictureStreamCompleter(Future<PictureInfo?> picture, {InformationCollector? informationCollector})
Creates a manager for one-frame PictureStreams.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(PictureListener listener, {PictureErrorListener? onError}) → void
Adds a listener callback that is called whenever a new concrete PictureInfo object is available. If a concrete image is already available, this object will call the listener synchronously.
inherited
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.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(PictureListener listener) → void
Stop listening for new concrete PictureInfo objects.
inherited
setPicture(PictureInfo? picture) → void
Calls all the registered listeners to notify them of a new picture.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
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 ==(Object other) bool
The equality operator.
inherited