A task priority, as passed to scheduleTask.

Constants

animation Priority

A task to run even when animations are running.

const Priority._(100000)
idle Priority

A task to run after all other tasks, when no animations are running.

const Priority._(0)
kMaxOffset int

Maximum offset by which to clamp relative priorities.

10000
touch Priority

A task to run even when the user is interacting with the device.

const Priority._(200000)

Properties

value int

The integer that describes this Priority value.

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 +(int offset) Priority

Returns a priority relative to this priority.

operator -(int offset) Priority

Returns a priority relative to this priority.

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