FocusableControlBuilder constructor

const FocusableControlBuilder({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext context,
    2. FocusableControlState control
    ),
  3. VoidCallback? onPressed,
  4. VoidCallback? onLongPressed,
  5. void onHoverChanged(
    1. BuildContext context,
    2. FocusableControlState control
    )?,
  6. void onFocusChanged(
    1. BuildContext context,
    2. FocusableControlState control
    )?,
  7. String? semanticButtonLabel,
  8. bool enabled = true,
  9. bool requestFocusOnPress = true,
  10. SystemMouseCursor? cursor,
  11. Map<Type, Action<Intent>>? actions,
  12. Map<ShortcutActivator, Intent>? shortcuts,
  13. HitTestBehavior? hitTestBehavior,
  14. bool autoFocus = false,
  15. bool descendantsAreFocusable = true,
  16. 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);