Property

LocalTextSelectionColors

CompositionLocal used to change the TextSelectionColors used by text and text field components in the hierarchy.

Source set: Common
public val LocalTextSelectionColors: ProvidableCompositionLocal<TextSelectionColors> =
    compositionLocalOf {
        DefaultTextSelectionColors
    }

CompositionLocal used to change the TextSelectionColors used by text and text field components in the hierarchy.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: