ScreenDestination

inline fun <T : BaseRoute> ScreenDestination(noinline content: @Composable (route: T, modifier: Modifier) -> Unit): NavDestination(source)

Creates a new NavDestination that represents a full screen. The class of T will be used as a unique identifier. The given content will be shown when the screen is being navigated to using an instance of T.


inline fun <T : BaseRoute> ScreenDestination(extra: Serializable, noinline content: @Composable (route: T, modifier: Modifier) -> Unit): NavDestination(source)