RenderMetricsHolder class
Mutable holder for RenderMetrics that WidgetApp updates in-place.
This is intentionally mutable so that metrics can be updated without triggering InheritedWidget notifications. Widgets that read from this holder (e.g. DebugOverlay) pick up the latest value whenever they rebuild for any other reason.
Constructors
Properties
-
customMetrics
→ Map<
String, String> -
Custom overlay metric entries.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- metrics ↔ RenderMetrics?
-
The latest RenderMetrics snapshot, or
nullif none received yet.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
applyInjection(
RenderMetricsInjection injection) → bool - Applies an external RenderMetricsInjection.
-
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