FramePresentInfo class final
Per-frame context handed to the presenter: the trigger, the plan (when requested), and debug-phase timings (zero durations when no debug consumer is watching).
Constructors
- FramePresentInfo({required String reason, required FramePresentationPlan? plan, required bool debugWatching, required RenderLayoutFrameStats layoutStats, required RepaintBoundaryFrameStats repaintBoundaryStats, Duration phaseBuild = Duration.zero, Duration phaseLayout = Duration.zero, Duration phasePaint = Duration.zero, Duration renderTime = Duration.zero, BuildFlushStats buildStats = BuildFlushStats.zero})
-
const
Properties
- buildStats → BuildFlushStats
-
final
- debugWatching → bool
-
True when a debug consumer is subscribed this frame; presenters use
it to gate their own capture work.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- layoutStats → RenderLayoutFrameStats
-
Debug frame stats captured across build/layout/paint (empty when not
watching). Consumed by the ANSI presenter's frame telemetry.
final
- phaseBuild → Duration
-
final
- phaseLayout → Duration
-
final
- phasePaint → Duration
-
final
- plan → FramePresentationPlan?
-
final
- reason → String
-
final
- renderTime → Duration
-
Wall time of the whole render call (build+layout+paint+bookkeeping).
final
- repaintBoundaryStats → RepaintBoundaryFrameStats
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited