Focusable constructor
Focusable({
- required Widget child,
- FocusController? controller,
- String? focusId,
- bool autofocus = false,
- FocusKeyCallback? onKey,
- FocusChangedCallback? onFocusChange,
- VoidCallback? onFocus,
- VoidCallback? onBlur,
- bool enabled = true,
- Key? key,
Implementation
Focusable({
required this.child,
this.controller,
this.focusId,
this.autofocus = false,
this.onKey,
this.onFocusChange,
this.onFocus,
this.onBlur,
this.enabled = true,
super.key,
});