Functions
Link copied to clipboard
fun PlaceholderHighlight.Companion.fade(highlightColor: Color, animationSpec: InfiniteRepeatableSpec<Float> = PlaceholderDefaults.fadeAnimationSpec): PlaceholderHighlight
Creates a Fade brush with the given initial and target colors.
Link copied to clipboard
fun PlaceholderHighlight.Companion.shimmer(highlightColor: Color, animationSpec: InfiniteRepeatableSpec<Float> = PlaceholderDefaults.shimmerAnimationSpec, progressForMaxAlpha: Float = 0.6f): PlaceholderHighlight
Creates a PlaceholderHighlight which 'shimmers', using the given highlightColor.