focusInDirection method

bool focusInDirection (TraversalDirection direction)
inherited

Request to move the focus to the nearest focus node in the given direction, by calling the FocusTraversalPolicy.inDirection method.

Returns true if it successfully found a node and requested focus.

Implementation

bool focusInDirection(TraversalDirection direction) => DefaultFocusTraversal.of(context).inDirection(this, direction);