Alex
07/23/2024, 9:31 AMRippleConfiguration
apis from material 1.3.0(-beta)s yet?
I am trying to customize the Ripple alpha but cannot get the defaults. The old way (RippleTheme.defaultRippleAlpha
) is deprecated, the deprecation message advises me to use MaterialRippleThemeDefaults#RippleAlpha
but MaterialRippleThemeDefaults
does not exist.
Does anyone know where to get the platform defaults?Alex
07/23/2024, 9:45 AMandroidx.compose.material3.RippleDefaults
is what they meant to point to
It can be found here: https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/[…]l3/src/commonMain/kotlin/androidx/compose/material3/Ripple.ktStylianos Gakis
07/23/2024, 11:16 AMAlex
07/23/2024, 2:29 PMAlex
07/23/2024, 2:30 PMStylianos Gakis
07/23/2024, 2:33 PM