fade

fun PlaceholderHighlight.fade(animationSpec: InfiniteRepeatableSpec<Float> = PlaceholderDefaults.fadeAnimationSpec): PlaceholderHighlight

Creates a PlaceholderHighlight which fades in an appropriate color, using the given animationSpec.

Parameters

animationSpec

the AnimationSpec to configure the animation.