Function

getSelectedText

Returns the currently selected text.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

getSelectedText

Common
fun TextFieldValue.getSelectedText(): AnnotatedString

Returns the currently selected text.