Source set: Common
public class DialogNavigator() : Navigator<Destination>(NAME)
Navigator that navigates through Composables that will be hosted within a Dialog. Every destination using this Navigator must set a valid Composable by setting it directly on an instantiated Destination or calling dialog.
Functions
navigate
Source set: Common
override fun navigate(
entries: List<NavBackStackEntry>,
navOptions: NavOptions?,
navigatorExtras: Extras?,
)
createDestination
Source set: Common
override fun createDestination(): Destination
popBackStack
Source set: Common
override fun popBackStack(popUpTo: NavBackStackEntry, savedState: Boolean)
Members
Destination
Source set: Common
public class Destination(
navigator: DialogNavigator,
internal val dialogProperties: DialogProperties = DialogProperties(),
internal val content: @Composable (NavBackStackEntry) -> Unit,
) : NavDestination(navigator), FloatingWindow
NavDestination specific to DialogNavigator