withFocusOutline

fun <Error class: unknown class>.withFocusOutline(shape: <Error class: unknown class> = RectangleShape, padding: <Error class: unknown class> = 4.dp): <Error class: unknown class>

A modifier that draws describes which shape to draw around the currently focused composable. The outline is drawn in the coordinate space of the nearest FocusOutlineWrapper.

Parameters

shape

The shape of the outline. Defaults to RectangleShape.

padding

The padding around the outline. Defaults to 4.dp.