WidgetOrderFocusTraversalPolicy class

A FocusTraversalPolicy that traverses the focus order in widget hierarchy order.

This policy is used when the order desired is the order in which widgets are created in the widget hierarchy.

See also:

Inheritance
Mixed in types

Constructors

WidgetOrderFocusTraversalPolicy()
Creates a const WidgetOrderFocusTraversalPolicy.

Properties

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

findFirstFocus(FocusNode currentNode) FocusNode
Returns the node that should receive focus if there is no current focus in the FocusScopeNode that currentNode belongs to. [...]
override
next(FocusNode currentNode) bool
Focuses the next widget in the focus scope that contains the given currentNode. [...]
override
previous(FocusNode currentNode) bool
Focuses the previous widget in the focus scope that contains the given currentNode. [...]
override
changedScope({FocusNode node, FocusScopeNode oldScope }) → void
This is called whenever the given node is reparented into a new scope, so that the policy has a chance to update or invalidate any cached data that it maintains per scope about the node. [...]
inherited
findFirstFocusInDirection(FocusNode currentNode, TraversalDirection direction) FocusNode
Returns the node in the given direction that should receive focus if there is no current focus in the scope to which the currentNode belongs. [...]
inherited
inDirection(FocusNode currentNode, TraversalDirection direction) bool
Focuses the next widget in the given direction in the FocusScope that contains the currentNode. [...]
@mustCallSuper, inherited
invalidateScopeData(FocusScopeNode node) → void
Clears the data associated with the given FocusScopeNode for this object. [...]
inherited
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

Operators

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