NiceKeyboardListener constructor

const NiceKeyboardListener({
  1. Key? key,
  2. required Widget child,
  3. void onKeyDown(
    1. KeyDownEvent event
    )?,
  4. void onKeyUp(
    1. KeyUpEvent event
    )?,
  5. FocusNode? focusNode,
  6. bool autofocus = false,
})

Implementation

const NiceKeyboardListener({
  super.key,
  required this.child,
  this.onKeyDown,
  this.onKeyUp,
  this.focusNode,
  this.autofocus = false,
});