Composable Function

DialogHost

Show each Destination on the DialogNavigator's back stack as a Dialog.

DialogHost

Source set: Common
@Composable
public fun DialogHost(dialogNavigator: DialogNavigator)

Show each Destination on the DialogNavigator's back stack as a Dialog.

Note that NavHost will call this for you; you do not need to call it manually.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: