Hmm - it seems the cursor in TextField is always black (rather than being white if using a dark palette). Also it doesn't seem to blink. Am I doing something wrong?
Copy code
TextField(
value = message.value,
onValueChange = { message.value = it },
textStyle = TextStyle(
color = colors.onSecondary.copy(alpha = 0.8f)
),
imeAction = ImeAction.Send,
onImeActionPerformed = {
<http://MessagesState.info|MessagesState.info>("did IME action")
},
modifier = LayoutPadding(4.dp)
)