Class

TextSelectionColors

Represents the colors used for text selection by text and text field components.

Source set: Common
public class TextSelectionColors(public val handleColor: Color, public val backgroundColor: Color)

Represents the colors used for text selection by text and text field components.

See LocalTextSelectionColors to provide new values for this throughout 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: