-
- All Implemented Interfaces:
public final class Shimmer
-
-
Method Summary
-
-
Method Detail
-
Shimmer
final static Unit Shimmer(Modifier modifier, Color baseColor, Color highlightColor, Float intensity, Float dropOff, Float tilt, Integer durationMillis)
Create a shimmering effect composable with base and highlighting colors.
- Parameters:
modifier- basic modifier, must be applied fillMaxSize().baseColor- base background color of this composable.highlightColor- highlight shimmering effect color of this composable.intensity- controls the brightness of the highlight at the center.dropOff- controls the size of the fading edge of the highlight.tilt- angle at which the highlight is tilted, measured in degrees.durationMillis- animation duration of the shimmering start to end.
-
-
-
-