Creates a temporary, mutable [TextFieldBuffer] representing the current state of this [TextFieldState].
TextFieldStateApplyOutputTransformation
@Suppress("UNUSED_VARIABLE")
@Composable
fun TextFieldStateApplyOutputTransformation() {
val state = TextFieldState("Hello, World")
val outputTransformation = OutputTransformation { insert(0, "> ") }
val buffer = state.toTextFieldBuffer()
with(outputTransformation) { buffer.transformOutput() }
val transformedText = buffer.asCharSequence()
val transformedSelection = buffer.selection
}