PictureStreamCompleter class abstract
Base class for those that manage the loading of dart:ui.Picture objects for PictureStreams.
PictureStreamListener
objects are rarely constructed directly. Generally, an
PictureProvider subclass will return an PictureStream and automatically
configure it with the right PictureStreamCompleter when possible.
- Mixed-in types
- Implementers
Constructors
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.
-
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.
override
-
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.
-
setPicture(
PictureInfo? picture) → void - Calls all the registered listeners to notify them of a new picture.
-
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