CustomFocusableActionDetector class

Inheritance

Constructors

CustomFocusableActionDetector({Key? key, bool enabled = true, FocusNode? focusNode, bool autofocus = false, bool descendantsAreFocusable = true, bool descendantsAreTraversable = true, Map<ShortcutActivator, Intent>? shortcuts, Map<Type, Action<Intent>>? actions, ValueChanged<bool>? onShowFocusHighlight, ValueChanged<bool>? onShowHoverHighlight, ValueChanged<bool>? onFocusChange, MouseCursor mouseCursor = MouseCursor.defer, bool includeFocusSemantics = true, void onMouseEnter(PointerEnterEvent event)?, void onMouseExit(PointerExitEvent event)?, void onMouseHover(PointerHoverEvent event)?, required Widget child})
Create a const CustomFocusableActionDetector.
const

Properties

actions Map<Type, Action<Intent>>?
A map of Intent keys to Action<Intent> objects that defines which actions this widget knows about.
final
autofocus bool
True if this widget will be selected as the initial focus when no other node in its scope is currently focused.
final
child Widget
The child widget for this CustomFocusableActionDetector widget.
final
descendantsAreFocusable bool
If false, will make this widget's descendants unfocusable.
final
descendantsAreTraversable bool
If false, will make this widget's descendants untraversable.
final
enabled bool
Is this widget enabled or not.
final
focusNode FocusNode?
An optional focus node to use as the focus node for this widget.
final
hashCode int
The hash code for this object.
no setterinherited
includeFocusSemantics bool
Whether to include semantics from Focus.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
mouseCursor MouseCursor
The cursor for a mouse pointer when it enters or is hovering over the widget.
final
onFocusChange ValueChanged<bool>?
A function that will be called when the focus changes.
final
onMouseEnter → void Function(PointerEnterEvent event)?
A function that will be called when the mouse exits
final
onMouseExit → void Function(PointerExitEvent event)?
A function that will be called when the mouse enters
final
onMouseHover → void Function(PointerHoverEvent event)?
A function that will be called when the pointer hovers over the widget.
final
onShowFocusHighlight ValueChanged<bool>?
A function that will be called when the focus highlight should be shown or hidden.
final
onShowHoverHighlight ValueChanged<bool>?
A function that will be called when the hover highlight should be shown or hidden.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortcuts Map<ShortcutActivator, Intent>?
The map of shortcuts that describes the mapping between a key sequence defined by a ShortcutActivator and the Intent that will be emitted when that key sequence is pressed.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<CustomFocusableActionDetector>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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