MaterialFadeThrough
fun <T> MaterialFadeThrough(targetState: T, modifier: Modifier = Modifier, label: String = "MaterialFadeThrough", content: @Composable AnimatedVisibilityScope.(T) -> Unit)(source)
MaterialFadeThrough allows to switch between two layouts with a fade through animation.
Parameters
modifier
Modifier to be applied to the animation container.
label
An optional label to differentiate from other animations in Android Studio.
See also
com.google.android.material.transition.MaterialFadeThrough