getSelectedText

Returns the currently selected text.

getSelectedText

Function

Common
fun TextFieldValue.getSelectedText(): AnnotatedString

Returns the currently selected text.