HardwareKeyboardDetector constructor
HardwareKeyboardDetector({
- void onKeyEvent()?,
Implementation
HardwareKeyboardDetector({void Function(KeyEvent)? onKeyEvent})
: _onKeyEvent = onKeyEvent;