RippleTheme.Companion

object RippleTheme.Companion


Summary

Public functions

RippleAlpha
defaultRippleAlpha(contentColor: Color?, lightTheme: Boolean?)

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

Color
defaultRippleColor(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.

Public functions

defaultRippleAlpha

fun defaultRippleAlpha(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

defaultRippleColor

fun defaultRippleColor(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