Package 

Class MaterialFadeThroughKt

    • Method Summary

      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.