Start native apps faster with the Composables CLI ->
Class

DialogNavigatorDestinationBuilder

DSL for constructing a new DialogNavigator.Destination

Source set: Common
public class DialogNavigatorDestinationBuilder :
    NavDestinationBuilder<DialogNavigator.Destination>

DSL for constructing a new DialogNavigator.Destination

Functions

instantiateDestination

Source set: Common
override fun instantiateDestination(): DialogNavigator.Destination

DSL for constructing a new DialogNavigator.Destination

Parameters

navigator navigator used to create the destination
route the destination's unique route from a KClass
typeMap map of destination arguments' kotlin type KType to its respective custom NavType. May be empty if route does not use custom NavTypes.
dialogProperties properties that should be passed to androidx.compose.ui.window.Dialog.
content composable for the destination