Priority class

A task priority, as passed to SchedulerBinding.scheduleTask.

Annotations

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
Integer that describes this Priority value.
no setter

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 +(int offset) Priority
Returns a priority relative to this priority.
operator -(int offset) Priority
Returns a priority relative to this priority.
operator ==(Object other) bool
The equality operator.
inherited

Constants

animation → const Priority
A task to run even when animations are running.
idle → const Priority
A task to run after all other tasks, when no animations are running.
kMaxOffset → const int
Maximum offset by which to clamp relative priorities.
touch → const Priority
A task to run even when the user is interacting with the device.