materialFadeThrough

fun materialFadeThrough(durationMillis: Int = MotionConstants.DefaultMotionDuration): ContentTransform(source)

materialFadeThrough allows to switch a layout with a fade through animation.

Parameters

durationMillis

the duration of transition.