Common
Deprecated Use focusProperties() instead
focusOrder
fun Modifier.focusOrder(
@Suppress("DEPRECATION") focusOrderReceiver: FocusOrder.() -> Unit
): Modifier
Use this modifier to specify a custom focus traversal order.
Parameters
| focusOrderReceiver | Specifies FocusRequesters that are used when the user wants to move the current focus to the next item, or wants to move focus left, right, up or down. |
Common
Deprecated Use focusRequester() instead
focusOrder
fun Modifier.focusOrder(focusRequester: FocusRequester): Modifier
A modifier that lets you specify a FocusRequester for the current composable so that this focusRequester can be used by another composable to specify a custom focus order.
Common
Deprecated Use focusProperties() and focusRequester() instead
focusOrder
fun Modifier.focusOrder(
focusRequester: FocusRequester,
@Suppress("DEPRECATION") focusOrderReceiver: FocusOrder.() -> Unit,
): Modifier
A modifier that lets you specify a FocusRequester for the current composable along with focusOrder.