shimmerHighlightColor

fun PlaceholderDefaults.shimmerHighlightColor(backgroundColor: Color = MaterialTheme.colors.surface, alpha: Float = 0.75f): Color(source)

Returns the value used as the the highlightColor parameter value of PlaceholderHighlight.Companion.shimmer.

Parameters

backgroundColor

The current background color of the layout. Defaults to MaterialTheme.colors.surface.

alpha

The alpha component to set on backgroundColor. Defaults to 0.75f.