SplitBox

private fun SplitBox(    currentTextSlices: ArrayList<MutableState<String>>,     boxSelectedColor: Color = MaterialTheme.colorScheme.inversePrimary,     boxShape: Shape,     boxTextStyle: TextStyle,     textSlice: MutableState<String>,     currentBox: Int)

Single component to allow the user to a slice of the complete text of the SplitText component

Parameters

currentTextSlices

The array container of each parts of the split text

boxSelectedColor

The color to use when the box is currently selected

boxShape

The shape to apply to the SplitBox

boxTextStyle

The text style to use for the SplitBox's text

textSlice

The slice of the complete text to fill

currentBox

The index of the current box where the focus is applied