OverlayDestination
inline fun <T : NavRoute> OverlayDestination(noinline content: @Composable (route: T, modifier: Modifier) -> Unit): NavDestination(source)
Creates a new NavDestination that is shown on top a ScreenDestination, for example a dialog or bottom sheet. The class of T will be used as a unique identifier. The given content will be shown inside the dialog window when navigating to it by using an instance of T.
inline fun <T : NavRoute> OverlayDestination(extra: Serializable, noinline content: @Composable (route: T, modifier: Modifier) -> Unit): NavDestination(source)