-
Notifications
You must be signed in to change notification settings - Fork 0
nav host ex
//tvlib/org.mjdev.tvlib.ui.components.navigation/NavHostEx
[androidJvm]\
fun NavHostEx(modifier: Modifier = Modifier, route: String? = null, startRoute: String? = null, navController: NavHostControllerEx = rememberNavControllerEx(), contentAlignment: Alignment = Alignment.Center, enterTransition: AnimatedContentTransitionScope<NavBackStackEntry>.() -> EnterTransition = { fadeIn(animationSpec = tween(700)) }, exitTransition: AnimatedContentTransitionScope<NavBackStackEntry>.() -> ExitTransition = { fadeOut(animationSpec = tween(700)) }, popEnterTransition: AnimatedContentTransitionScope<NavBackStackEntry>.() -> EnterTransition = enterTransition, popExitTransition: AnimatedContentTransitionScope<NavBackStackEntry>.() -> ExitTransition = exitTransition, builder: NavGraphBuilderEx.() -> Unit = { screen(route = EmptyScreen()) })