-
public final class MaterialFadeThroughKt
-
-
Method Summary
Modifier and Type Method Description final static <T extends Any> UnitMaterialFadeThrough(T targetState, Modifier modifier, String label, Function2<AnimatedVisibilityScope, T, Unit> content)MaterialFadeThrough allows to switch between two layouts with a fade through animation. -
-
Method Detail
-
MaterialFadeThrough
final static <T extends Any> Unit MaterialFadeThrough(T targetState, Modifier modifier, String label, Function2<AnimatedVisibilityScope, T, Unit> content)
MaterialFadeThrough allows to switch between two layouts with a fade through animation.
- Parameters:
targetState- is a key representing your target layout state.modifier- Modifier to be applied to the animation container.label- An optional label to differentiate from other animations in Android Studio.
-
-
-
-