TraversalDirection enum

A direction along either the horizontal or vertical axes.

This is used by the DirectionalFocusTraversalPolicyMixin to indicate which direction to traverse in.

Constants

down → const TraversalDirection

Indicates a direction below the currently focused widget.

const TraversalDirection(2)
left → const TraversalDirection

Indicates a direction to the left of the currently focused widget.

This direction is unaffected by the Directionality of the current context.

const TraversalDirection(3)

Indicates a direction to the right of the currently focused widget.

This direction is unaffected by the Directionality of the current context.

const TraversalDirection(1)
up → const TraversalDirection

Indicates a direction above the currently focused widget.

const TraversalDirection(0)
values → const List<TraversalDirection>

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

const List<TraversalDirection>

Properties

index int

The integer index of this enum.

final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited