MaterialSharedAxisZ
fun <T> MaterialSharedAxisZ(targetState: T, forward: Boolean, modifier: Modifier = Modifier, label: String = "MaterialSharedAxisZ", content: @Composable AnimatedVisibilityScope.(T) -> Unit)(source)
MaterialSharedAxisZ allows to switch between two layouts with a shared Z-axis animation.
Parameters
forward
whether the direction of the animation is forward.
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.MaterialSharedAxis