CustomFocusableActionDetector constructor
const
CustomFocusableActionDetector({
- Key? key,
- 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,
- bool includeFocusSemantics = true,
- void onMouseEnter(
- PointerEnterEvent event
- void onMouseExit(
- PointerExitEvent event
- void onMouseHover(
- PointerHoverEvent event
- required Widget child,
Create a const CustomFocusableActionDetector.
Implementation
const CustomFocusableActionDetector({
super.key,
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,
this.includeFocusSemantics = true,
this.onMouseEnter,
this.onMouseExit,
this.onMouseHover,
required this.child,
});