RippleDefaults


Default values used by ripple.

Summary

Public functions

RippleAlpha
rippleAlpha(contentColor: Color, lightTheme: Boolean)

Represents the default RippleAlpha that will be used for a ripple to indicate different states.

Cmn
Color
rippleColor(contentColor: Color, lightTheme: Boolean)

Represents the default color that will be used for a ripple if a color has not been explicitly set on the ripple instance.

Cmn

Public functions

rippleAlpha

fun rippleAlpha(contentColor: Color, lightTheme: Boolean): RippleAlpha

Represents the default RippleAlpha that will be used for a ripple to indicate different states.

Parameters
contentColor: Color

the color of content (text or iconography) in the component that contains the ripple.

lightTheme: Boolean

whether the theme is light or not

rippleColor

fun rippleColor(contentColor: Color, lightTheme: Boolean): Color

Represents the default color that will be used for a ripple if a color has not been explicitly set on the ripple instance.

Parameters
contentColor: Color

the color of content (text or iconography) in the component that contains the ripple.

lightTheme: Boolean

whether the theme is light or not