InputOTPSlot
fun RowScope.InputOTPSlot(state: InputOTPState, index: Int, modifier: Modifier = Modifier, isFirst: Boolean = false, isLast: Boolean = false)(source)
Individual digit slot — mirrors InputOTPSlot.
The active slot shows a blinking caret when empty. Borders are joined (rounded only on outermost edges of the group).
Parameters
state
The shared InputOTPState.
index
Zero-based slot index (0 … length - 1).
isFirst
Whether this is the leftmost slot in its group.
isLast
Whether this is the rightmost slot in its group.