Function Common fun TextFieldValue.getSelectedText(): AnnotatedString Returns the currently selected text.