fuseKeyEvent function
Calls function fn
when a key event occurs.
Implementation
void fuseKeyEvent(FuseKeyEventFn fn) {
_fuseKeysCheck();
final component = fuseComponent<FuseKeys>();
component._keyEventFns.add(fn);
}
Calls function fn
when a key event occurs.
void fuseKeyEvent(FuseKeyEventFn fn) {
_fuseKeysCheck();
final component = fuseComponent<FuseKeys>();
component._keyEventFns.add(fn);
}