EnginePhase enum

Phases that can be reached by WidgetTester.pumpWidget and TestWidgetsFlutterBinding.pump.

See WidgetsBinding.drawFrame for a more detailed description of some of these phases.

Inheritance
Available extensions

Values

build → const EnginePhase

The build phase in the widgets library. See BuildOwner.buildScope.

layout → const EnginePhase

The layout phase in the rendering library. See PipelineOwner.flushLayout.

compositingBits → const EnginePhase

The compositing bits update phase in the rendering library. See PipelineOwner.flushCompositingBits.

paint → const EnginePhase

The paint phase in the rendering library. See PipelineOwner.flushPaint.

composite → const EnginePhase

The compositing phase in the rendering library. See RenderView.compositeFrame. This is the phase in which data is sent to the GPU. If semantics are not enabled, then this is the last phase.

flushSemantics → const EnginePhase

The semantics building phase in the rendering library. See PipelineOwner.flushSemantics.

sendSemanticsUpdate → const EnginePhase

The final phase in the rendering library, wherein semantics information is sent to the embedder. See SemanticsOwner.sendSemanticsUpdate.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<EnginePhase>
A constant List of the values in this enum, in order of their declaration.