Focusable constructor

Focusable({
  1. required Widget child,
  2. FocusController? controller,
  3. String? focusId,
  4. bool autofocus = false,
  5. FocusKeyCallback? onKey,
  6. FocusChangedCallback? onFocusChange,
  7. VoidCallback? onFocus,
  8. VoidCallback? onBlur,
  9. bool enabled = true,
  10. 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,
});