focusRing
@Stable
Creates a focus ring border with an inset, commonly used for TV focus indicators.
A focus ring is typically rendered outside the element (using inset) to create a visible outline when the element is focused.
Return
A Border configured as a focus ring.
Since
0.5.0
Parameters
color
The color of the focus ring.
width
The width of the focus ring. Defaults to 2.dp.
inset
The inset (expansion) of the focus ring outside the element. Defaults to 2.dp.
shape
The shape of the focus ring. Defaults to following the element's shape.