materialSharedAxisZ
fun materialSharedAxisZ(forward: Boolean, durationMillis: Int = MotionConstants.DefaultMotionDuration): ContentTransform(source)
materialSharedAxisZ allows to switch a layout with shared Z-axis transition.
Parameters
forward
whether the direction of the animation is forward.
durationMillis
the duration of transition.