EnginePhase enum Null safety

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

Constructors

EnginePhase()
const

Values

build → const EnginePhase

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

EnginePhase()
layout → const EnginePhase

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

EnginePhase()
compositingBits → const EnginePhase

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

EnginePhase()
paint → const EnginePhase

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

EnginePhase()
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.

EnginePhase()
flushSemantics → const EnginePhase

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

EnginePhase()
sendSemanticsUpdate → const EnginePhase

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

EnginePhase()

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
[build, layout, compositingBits, paint, composite, flushSemantics, sendSemanticsUpdate]