SplitText
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: InfoText? = 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 informative text about what the component needs