Class

DialogSceneStrategy

A SceneStrategy that displays entries that have added dialog to their NavEntry.metadata within a Dialog instance.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Common
public class DialogSceneStrategy<T : Any>() : SceneStrategy<T>

A SceneStrategy that displays entries that have added dialog to their NavEntry.metadata within a Dialog instance.

This strategy should always be added before any non-overlay scene strategies.

Companion Object

Methods

dialog

Common
public fun dialog(
            dialogProperties: DialogProperties = DialogProperties()
        ): Map<String, Any>

Function to be called on the NavEntry.metadata to mark this entry as something that should be displayed within a Dialog.

Parameters

dialogProperties properties that should be passed to the containing Dialog.