onFocusChanged

fun Modifier.onFocusChanged(onFocusChanged: (FocusState) -> Unit): Modifier

Calls onFocusChanged with the focus state of this node when it is first laid out, and whenever it changes after that.