findFirstFocusInDirection method Null safety
- FocusNode currentNode,
- TraversalDirection direction
Returns the first node in the given direction
that should receive focus
if there is no current focus in the scope to which the currentNode
belongs.
This is typically used by inDirection to determine which node to focus if it is called when no node is currently focused.
All arguments must not be null.
Implementation
FocusNode? findFirstFocusInDirection(FocusNode currentNode, TraversalDirection direction);