FocusScope constructor

const FocusScope({
  1. Key? key,
  2. required Widget child,
  3. FocusNode? focusNode,
  4. bool autofocus = false,
  5. bool onKeyEvent(
    1. KeyEvent event
    )?,
  6. void onFocusChange(
    1. bool hasFocus
    )?,
})

Creates a new FocusScope widget.

Implementation

const FocusScope({
  super.key,
  required super.child,
  super.focusNode,
  super.autofocus,
  super.onKeyEvent,
  super.onFocusChange,
});