FocusManager class
Singleton manager for focus state across the widget tree.
Tracks all registered FocusNodes, maintains a tab order, and handles Tab/Shift+Tab traversal.
Properties
- focusedNode → FocusNode?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
focus(
FocusNode node) → void -
getFocusedPosition(
) → Position? -
handleKeyEvent(
KeyEvent event) → bool -
next(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
previous(
) → void -
register(
FocusNode node) → void -
reset(
) → void -
toString(
) → String -
A string representation of this object.
inherited
-
unfocus(
) → void -
unregister(
FocusNode node) → void -
updatePosition(
FocusNode node, Position pos) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → FocusManager
-
no setter