onKeyEvent
Adds a focused callback for every key press and release.
The modifier makes its logical component focusable, retains callback until replacement or disposal, and invokes it synchronously on the tree thread.
Return
a modifier with the active callback appended nearest the component.
Parameters
callback
focused key callback deciding propagation.