androidx.compose.ui.focus

Classes

FocusManager

The focus manager is used by different Owner implementations to control focus.

FocusRequester

The FocusRequester is used in conjunction with Modifier.focusRequester to send requests for focus state change.

Annotations

ExperimentalFocus

Enums

FocusState

Different states of the focus system.

FocusState2

Different states of the focus system.

Extension properties summary

For FocusState
Boolean

Converts a focus state into a boolean value indicating if the component is focused or not.

Extension properties

isFocused

val FocusState.isFocused: Boolean

Converts a focus state into a boolean value indicating if the component is focused or not.

Return
true if the component is focused, false otherwise.