FocusActionBuilder constructor
const
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< ? actions,Intent> > - 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
Implementation
const FocusActionBuilder({
super.key,
required this.builder,
this.onTap,
this.onDoubleTap,
this.onLongTap,
this.focusNode,
this.isDisabled = false,
this.requestFocusOnPress = true,
this.cursor,
this.actions,
this.shortcuts,
this.hitTestBehavior,
this.autoFocus = false,
this.descendantsAreFocusable = true,
this.descendantsAreTraversable = true,
this.onHoverChanged,
this.onFocusChanged,
});