package it.vfsfitvnm.route import androidx.compose.animation.AnimatedContentScope import androidx.compose.animation.ContentTransform import androidx.compose.animation.EnterTransition import androidx.compose.animation.ExitTransition import androidx.compose.animation.ExperimentalAnimationApi import androidx.compose.animation.core.tween import androidx.compose.animation.fadeIn import androidx.compose.animation.fadeOut import androidx.compose.animation.with @ExperimentalAnimationApi val AnimatedContentScope.leftSlide: ContentTransform get() = slideIntoContainer(AnimatedContentScope.SlideDirection.Left) with slideOutOfContainer(AnimatedContentScope.SlideDirection.Left) @ExperimentalAnimationApi val AnimatedContentScope.rightSlide: ContentTransform get() = slideIntoContainer(AnimatedContentScope.SlideDirection.Right) with slideOutOfContainer(AnimatedContentScope.SlideDirection.Right) @ExperimentalAnimationApi val AnimatedContentScope.fastFade: ContentTransform get() = fadeIn(tween(200)) with fadeOut(tween(200)) @ExperimentalAnimationApi val AnimatedContentScope.empty: ContentTransform get() = EnterTransition.None with ExitTransition.None