FocusableControlBuilder constructor
const
FocusableControlBuilder({
- Key? key,
- required Widget builder(
- BuildContext context,
- FocusableControlState control
- VoidCallback? onPressed,
- VoidCallback? onLongPressed,
- void onHoverChanged(
- BuildContext context,
- FocusableControlState control
- void onFocusChanged(
- BuildContext context,
- FocusableControlState control
- String? semanticButtonLabel,
- bool enabled = true,
- bool requestFocusOnPress = true,
- SystemMouseCursor? cursor,
- Map<
Type, Action< ? actions,Intent> > - Map<
ShortcutActivator, Intent> ? shortcuts, - HitTestBehavior? hitTestBehavior,
- bool autoFocus = false,
- bool descendantsAreFocusable = true,
- bool descendantsAreTraversable = true,
Implementation
const FocusableControlBuilder({
Key? key,
required this.builder,
this.onPressed,
this.onLongPressed,
this.onHoverChanged,
this.onFocusChanged,
this.semanticButtonLabel,
this.enabled = true,
this.requestFocusOnPress = true,
this.cursor,
this.actions,
this.shortcuts,
this.hitTestBehavior,
this.autoFocus = false,
this.descendantsAreFocusable = true,
this.descendantsAreTraversable = true,
}) : super(key: key);