focusScale

fun Modifier.focusScale(scale: Float = 1.1f, hoverable: Boolean = true, focusable: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }): Modifier(source)

Extension function for a Modifier to scale a Composable (up) on focus.

Return

the Modifier which contains the changes of focus indication.

Parameters

scale

the scale used while the Composable is focused.

hoverable

whether hovering is enabled and an indicator for focus.

focusable

whether focusing is enabled

interactionSource

the used MutableInteractionSource to indicate if a Composable is focused.