FocusActionBuilder class

Inheritance

Constructors

FocusActionBuilder({Key? key, required Widget builder(BuildContext context, FocusControlState control), VoidCallback? onTap, VoidCallback? onDoubleTap, VoidCallback? onLongTap, FocusNode? focusNode, bool isDisabled = false, bool requestFocusOnPress = true, MouseCursor? cursor, Map<Type, Action<Intent>>? actions, Map<ShortcutActivator, Intent>? shortcuts, HitTestBehavior? hitTestBehavior, bool autoFocus = false, bool descendantsAreFocusable = true, bool descendantsAreTraversable = true, void onHoverChanged(BuildContext context, FocusControlState control)?, void onFocusChanged(BuildContext context, FocusControlState control)?})
const

Properties

actions Map<Type, Action<Intent>>?
final
autoFocus bool
final
builder Widget Function(BuildContext context, FocusControlState control)
final
cursor MouseCursor?
final
descendantsAreFocusable bool
final
descendantsAreTraversable bool
final
focusNode FocusNode?
final
hashCode int
The hash code for this object.
no setterinherited
hitTestBehavior HitTestBehavior?
final
isDisabled bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onDoubleTap VoidCallback?
final
onFocusChanged → void Function(BuildContext context, FocusControlState control)?
Called after the focus state has changed.
final
onHoverChanged → void Function(BuildContext context, FocusControlState control)?
Called after the hover state has changed.
final
onLongTap VoidCallback?
final
onTap VoidCallback?
final
requestFocusOnPress bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortcuts Map<ShortcutActivator, Intent>?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<FocusActionBuilder>
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}) 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