The various phases that a SchedulerBinding goes through during SchedulerBinding.handleBeginFrame.

This is exposed by SchedulerBinding.schedulerPhase.

The values of this enum are ordered in the same order as the phases occur, so their relative index values can be compared to each other.

See also WidgetsBinding.beginFrame.

Constants

idle SchedulerPhase

No frame is being processed. Tasks (scheduled by WidgetsBinding.scheduleTask), microtasks (scheduled by scheduleMicrotask), Timer callbacks, event handlers (e.g. from user input), and other callbacks (e.g. from Futures, Streams, and the like) may be executing.

const SchedulerPhase(0)
persistentCallbacks SchedulerPhase

The persistent callbacks (scheduled by WidgetsBinding.addPersistentFrameCallback) are currently executing.

Typically, this is the build/layout/paint pipeline. See WidgetsBinding.beginFrame.

const SchedulerPhase(2)
postFrameCallbacks SchedulerPhase

The post-frame callbacks (scheduled by WidgetsBinding.addPostFrameCallback) are currently executing.

Typically, these callbacks handle cleanup and scheduling of work for the next frame.

const SchedulerPhase(3)
transientCallbacks SchedulerPhase

The transient callbacks (scheduled by WidgetsBinding.scheduleFrameCallback and WidgetsBinding.addFrameCallback) are currently executing.

Typically, these callbacks handle updating objects to new animation states.

const SchedulerPhase(1)
values List<SchedulerPhase>

A constant List of the values in this enum, in order of their declaration.

const List<SchedulerPhase>

Properties

index int
read-only
hashCode int

Get a hash code for this object.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() String

Returns a string representation of this object.

inherited