Property

LocalAutofillHighlightBrush

CompositionLocal used to change the highlight Brush used for autofilled components.

Source set: Common
public val LocalAutofillHighlightBrush: ProvidableCompositionLocal<Brush> =
    compositionLocalOf<Brush> {
        // The default is a solid color brush using the original color.
        SolidColor(autofillHighlightColor())
    }

CompositionLocal used to change the highlight Brush used for autofilled components.

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: