Package 

Class Shimmer

  • All Implemented Interfaces:

    
    public final class Shimmer
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.