CustomFocusableActionDetector constructor

const CustomFocusableActionDetector({
  1. Key? key,
  2. bool enabled = true,
  3. FocusNode? focusNode,
  4. bool autofocus = false,
  5. bool descendantsAreFocusable = true,
  6. bool descendantsAreTraversable = true,
  7. Map<ShortcutActivator, Intent>? shortcuts,
  8. Map<Type, Action<Intent>>? actions,
  9. ValueChanged<bool>? onShowFocusHighlight,
  10. ValueChanged<bool>? onShowHoverHighlight,
  11. ValueChanged<bool>? onFocusChange,
  12. MouseCursor mouseCursor = MouseCursor.defer,
  13. bool includeFocusSemantics = true,
  14. void onMouseEnter(
    1. PointerEnterEvent event
    )?,
  15. void onMouseExit(
    1. PointerExitEvent event
    )?,
  16. void onMouseHover(
    1. PointerHoverEvent event
    )?,
  17. required Widget child,
})

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,
});