PromptDialogs

actual fun PromptDialogs(promptModel: PromptModel, imageLoader: ImageLoader?, maxHeight: Dp?, excludeTypes: List<PromptDialogModel.DialogType<*>>)
expect fun PromptDialogs(promptModel: PromptModel, imageLoader: ImageLoader? = null, maxHeight: Dp? = null, excludeTypes: List<PromptDialogModel.DialogType<*>> = emptyList())

Composable which can show prompts from PromptModel.

If an application wishes to implement a prompts itself but still wants other models, it can pass this the PromptDialogModel.DialogType in excludeTypes.

Parameters

promptModel

the PromptModel to show prompts from.

imageLoader

an ImageLoader to load images from the network or null.

maxHeight

the maximum height of a dialog or null if not restricted.

excludeTypes

a list of prompt model dialog types to not show.

actual fun PromptDialogs(promptModel: ERROR CLASS: Symbol not found for PromptModel, imageLoader: ERROR CLASS: Symbol not found for ImageLoader??, maxHeight: ERROR CLASS: Symbol not found for Dp??, excludeTypes: List<ERROR CLASS: Symbol not found for PromptDialogModel.DialogType<*>>)
actual fun PromptDialogs(promptModel: PromptModel, imageLoader: ImageLoader?, maxHeight: Dp?, excludeTypes: List<PromptDialogModel.DialogType<*>>)