OneFramePictureStreamCompleter class
Manages the loading of dart:ui.Picture objects for static PictureStreams (those with only one frame).
- Inheritance
-
- Object
- PictureStreamCompleter
- OneFramePictureStreamCompleter
Constructors
-
OneFramePictureStreamCompleter(Future<
PictureInfo?> picture, {InformationCollector? informationCollector}) - Creates a manager for one-frame PictureStreams.
Properties
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 properties) → void -
Add additional properties associated with the node.
inherited
-
isCompatible(
SvgTheme oldData, SvgTheme newData) → bool -
Tests whether the currently set PictureInfo, if any, is compatible for
the given theme change.
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