FocusManagerKeyboard class
Key events for a root from Flutter's FocusManager (its early handlers,
so a key a control handles never reaches Flutter's own traversal), and
the bridge between the two focuses: a control taking the focus unfocuses
the app's focused widget; the app focusing one of its widgets (an
island's text field) takes the focus from the controls.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hostHasFocus → bool
-
Whether one of the host's own widgets has keyboard focus: Tab is then
the host's.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope ↔ ControlFocusScope?
-
getter/setter pair
Methods
-
attach(
bool handler(KeyEvent event)) → void -
Starts sending key events to
handler(true: handled). -
detach(
bool handler(KeyEvent event)) → void - Stops sending them.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
yieldHostFocus(
) → void - A control took the focus: the host lets go of its own.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited