Compose Unstyled 2.0 is out! Check the official announcement blog ->
Function

performKeyPress

Send the specified KeyEvent to the focused component.

performKeyPress

Source set: Common
fun SemanticsNodeInteraction.performKeyPress(keyEvent: KeyEvent): Boolean

Send the specified KeyEvent to the focused component.

Returns

true if the event was consumed. False otherwise.

Last updated: