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

isShiftDown

Verifies whether either of the shift keys are down.

Source set: Common
val KeyInjectionScope.isShiftDown: Boolean

Verifies whether either of the shift keys are down.

Returns

true if a shift key is currently down, false otherwise.

Last updated: