defineDialogDestination

fun defineDialogDestination(id: DestinationId<*, *>, dialogProperties: DialogProperties = DialogProperties(), content: @Composable () -> Unit): NavigationDestination

Helper method for creating a dialog NavigationDestination.

Parameters

id

The destination identifier.

dialogProperties

The dialog properties.

content

The composable function that will be used to render the content.