remember Dialog State
Creates a DialogState that can be used to control the visibility of a Dialog.
Parameters
initially Visible
Whether the dialog should be initially visible.
fun rememberDialogState(visible: Boolean = false, ____deprecated_constructor: Unit = Unit): DialogState
Deprecated
This function is going away soon. Use the updated function with renamed parameters
Replace with
rememberDialogState(initiallyVisible = visible)Content copied to clipboard
Creates a DialogState that can be used to control the visibility of a Dialog.
Parameters
initially Visible
Whether the dialog should be initially visible.