asMutableState
Exposes the textValue of a TextController as a remembered MutableState, suitable for use from @Composable
functions.
Usage:
var text by rendering.textController.asMutableState()
OutlinedTextField(
label = {},
placeholder = { Text("Enter some text") },
value = text,
onValueChange = { text = it }
)
Content copied to clipboard