MaterialDialogState

class MaterialDialogState(initialValue: Boolean)

The MaterialDialogState class is used to store the state for a MaterialDialog

Parameters

initialValue

the initial showing state of the dialog

Constructors

MaterialDialogState
Link copied to clipboard
fun MaterialDialogState(initialValue: Boolean = false)

Types

Companion
Link copied to clipboard
object Companion

Functions

hide
Link copied to clipboard
fun hide(focusManager: FocusManager? = null)

Clears focus with a given FocusManager and then hides the dialog

show
Link copied to clipboard
fun show()

Shows the dialog

Properties

dialogBackgroundColor
Link copied to clipboard
var dialogBackgroundColor: Color?

Dialog background color with elevation overlay

showing
Link copied to clipboard
var showing: Boolean