HardwareKeyboardDetector constructor

HardwareKeyboardDetector({
  1. void onKeyEvent(
    1. KeyEvent
    )?,
})

Implementation

HardwareKeyboardDetector({void Function(KeyEvent)? onKeyEvent})
    : _onKeyEvent = onKeyEvent;