Code Text Field
fun CodeTextField(value: String, onValueChange: (String) -> Unit, modifier: Modifier = Modifier.padding(10.dp), textColor: Color = Color.Unspecified, length: Int = 6, boxWidth: Dp = 48.dp, boxHeight: Dp = 48.dp, boxMargin: Dp = 10.dp, boxShape: Shape = RectangleShape, boxBackgroundColor: Color = Color.Unspecified, boxBorderStroke: BorderStroke = BorderStroke(
width = TextFieldDefaults.UnfocusedBorderThickness,
color = MaterialTheme.colors.onSurface.copy(alpha = ContentAlpha.disabled)
), boxFocusedBorderStroke: BorderStroke = BorderStroke(
width = TextFieldDefaults.FocusedBorderThickness,
color = MaterialTheme.colors.primary.copy(alpha = ContentAlpha.high)
), enabled: Boolean = true, textStyle: TextStyle = TextStyle(fontSize = 20.sp), horizontalArrangement: Arrangement.Horizontal = Arrangement.Center, keyboardOptions: KeyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Number), keyboardActions: KeyboardActions = KeyboardActions.Default, cursorBrush: Brush = SolidColor(TextFieldDefaults.textFieldColors().cursorColor(false).value), cipherMask: String = "")
验证码输入框