Property

LocalAutofillHighlightColor

CompositionLocal used to change the autofillHighlightColor used by components in the hierarchy.

Source set: Common
@Deprecated(
    message =
        "Use LocalAutofillHighlightBrush instead. To provide a solid color, " +
            "use SolidColor(yourColor).",
    replaceWith =
        ReplaceWith(
            "LocalAutofillHighlightBrush",
            "androidx.compose.foundation.text.LocalAutofillHighlightBrush",
        ),
    level = DeprecationLevel.WARNING,
)
public val LocalAutofillHighlightColor: ProvidableCompositionLocal<Color> = compositionLocalOf {
    autofillHighlightColor()
}

CompositionLocal used to change the autofillHighlightColor used by 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: