Split Text

fun SplitText(    columnModifier: Modifier = Modifier,     rowModifier: Modifier = Modifier,     splitsTextState: SplitTextState,     spacingBetweenBoxes: Dp = 10.dp,     boxShape: Shape = CardDefaults.shape,     boxTextStyle: TextStyle = TextStyle( fontSize = 30.sp, fontWeight = FontWeight.Bold, textAlign = TextAlign.Center ),     infoText: String? = null)

Component to allow the user to insert a split text such OTP codes, PIN or any other texts of this type

Parameters

columnModifier

: the modifier to apply to the Column container

rowModifier

: the modifier to apply to the LazyRow container

splitsTextState

: the state used to manage this component

spacingBetweenBoxes

: the spacing between the boxes

boxShape

: the shape to apply to the SplitBox

boxTextStyle

: the text style to use for the SplitBox's text

infoText

: the text, if passed, to display as information about the text to insert in the component