FocusTraversalGroup class

Catches arrow chords that bubble out of the focused widget and moves focus to the spatially nearest focusable in that direction. With no current focus, Right/Down enters at the first control in reading order; Left/Up enters at the last. Merely mounting the group does not focus or activate a control.

The Navigator installs one around every screen and dialog, so a FleuryApp(home: ...) or explicit Navigator gives every route arrow/Tab traversal without a manual group. Most apps should not add another group around ordinary panes or controls: the route-level policy already uses widget-tree locality while ranking directional targets. Create one directly for an embedded or bare single-screen root with no Navigator above it. Nested groups are supported for low-level components that deliberately own directional traversal; they search their region first and let an outer group respond when no local target exists. They do not create a private Tab cycle.

Inheritance
Available extensions

Constructors

FocusTraversalGroup({Key? key, required Widget child})
const

Properties

child → Widget
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

animate({Duration? duration, Curve? curve, Object? trigger, bool repeat = false}) → Animate

Available on Widget, provided by the AnimateExtension extension

Starts an Animate chain over this widget. duration / curve apply to the whole chain. With no trigger it plays on mount; with a non-null trigger it rests on mount and replays whenever the token changes.
build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
override
createElement() → StatelessElement
Creates the Element that will mount this widget into the tree.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited