composableAnimation

fun NavGraphBuilder.composableAnimation(route: String, arguments: List<NamedNavArgument> = emptyList(), deepLinks: List<NavDeepLink> = emptyList(), enterTransition: AnimatedContentScope<NavBackStackEntry>.() -> EnterTransition? = { fadeIn(animationSpec = tween(500)) }, exitTransition: AnimatedContentScope<NavBackStackEntry>.() -> ExitTransition?? = { fadeOut(animationSpec = tween(500)) }, popEnterTransition: AnimatedContentScope<NavBackStackEntry>.() -> EnterTransition? = { fadeIn(animationSpec = tween(500)) }, popExitTransition: AnimatedContentScope<NavBackStackEntry>.() -> ExitTransition?? = { fadeOut(animationSpec = tween(500)) }, content: @Composable AnimatedVisibilityScope.(NavBackStackEntry) -> Unit): <ERROR CLASS>

Animation navigator app