RenderProgress class final

A progress update from a render: the current phase, optional frame counts while capturing, and the compositionKey so concurrent renders stay distinguishable in logs.

One callback shape serves both on-device renderers: web reports per-frame capture counts; mobile reports them too when its capture loop surfaces them, and leaves completedFrames/totalFrames null otherwise.

Annotations

Constructors

RenderProgress(RenderPhase phase, {int? completedFrames, int? totalFrames, String? compositionKey})
Creates a progress update for phase.
const

Properties

completedFrames int?
Frames captured so far during RenderPhase.capturing, or null.
final
compositionKey String?
The key of the render this update belongs to, or null.
final
hashCode int
The hash code for this object.
no setterinherited
phase RenderPhase
The stage the render is in.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalFrames int?
Total frames to capture, or null when not yet known or not capturing.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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