fade
fun PlaceholderHighlight.Companion.fade(highlightColor: Color, animationSpec: InfiniteRepeatableSpec<Float> = PlaceholderDefaults.fadeAnimationSpec): PlaceholderHighlight
Creates a Fade brush with the given initial and target colors.
Parameters
highlightColor
the color of the highlight which is faded in/out.
animationSpec
the AnimationSpec to configure the animation.