DirectionalFocusIntent class Null safety

An Intent that represents moving to the next focusable node in the given direction.

This is the Intent bound by default to the LogicalKeyboardKey.arrowUp, LogicalKeyboardKey.arrowDown, LogicalKeyboardKey.arrowLeft, and LogicalKeyboardKey.arrowRight keys in the WidgetsApp, with the appropriate associated directions.

See FocusTraversalPolicy for more information about focus traversal.

Inheritance

Constructors

DirectionalFocusIntent(TraversalDirection direction, {bool ignoreTextFields = true})
Creates an intent used to move the focus in the given direction.
const

Properties

direction TraversalDirection
The direction in which to look for the next focusable node when the associated DirectionalFocusAction is invoked.
final
hashCode int
The hash code for this object.
read-onlyinherited
ignoreTextFields bool
If true, then directional focus actions that occur within a text field will not happen when the focus node which received the key is a text field.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
mustCallSuper">@mustCallSuperprotected">@protectedinherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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