Shimmer Params
fun ShimmerParams(baseColor: Color, highlightColor: Color, intensity: Float = DefaultShimmerIntensity, dropOff: Float = DefaultShimmerDropOff, tilt: Float = DefaultShimmerTilt, durationMillis: Int = DefaultDurationMillis)
Content copied to clipboard
Parameters
baseColor
the base color of the content.
highlightColor
the shimmer's highlight color.
intensity
adjust the density of the highlight at the center.
dropOff
adjust the size of the fading edge of the highlight.
tilt
adjust an angle at which the highlight is tilted and measured in degrees.
durationMillis
a milli-second time to move the simmering effect from start to finish animation.