FocusableActionDetectorModifier constructor
const
FocusableActionDetectorModifier({
- Key? key,
- Widget? child,
- Key? modifierKey,
- bool enabled = true,
- FocusNode? focusNode,
- bool autofocus = false,
- bool descendantsAreFocusable = true,
- bool descendantsAreTraversable = true,
- Map<
ShortcutActivator, Intent> ? shortcuts, - Map<
Type, Action< ? actions,Intent> > - ValueChanged<
bool> ? onShowFocusHighlight, - ValueChanged<
bool> ? onShowHoverHighlight, - ValueChanged<
bool> ? onFocusChange, - MouseCursor mouseCursor = MouseCursor.defer,
Create a const FocusableActionDetector.
The enabled
, autofocus
, mouseCursor
, and child
arguments must not be null.
Implementation
const FocusableActionDetectorModifier({
super.key,
super.child,
super.modifierKey,
this.enabled = true,
this.focusNode,
this.autofocus = false,
this.descendantsAreFocusable = true,
this.descendantsAreTraversable = true,
this.shortcuts,
this.actions,
this.onShowFocusHighlight,
this.onShowHoverHighlight,
this.onFocusChange,
this.mouseCursor = MouseCursor.defer,
});