DialogState
a dialog state holding the current state and the some additional state DialogInteractionSource of the dialog
Parameters
the state of the dialog - if not null, the dialog is visible, otherwise not
the DialogInteractionSource holding other states for this dialog
the callback that will be called before showing this dialog, providing the data that will be shown in this dialog
the callback that will be called when this dialog is shown, providing the data that is shown in this dialog
the callback that will be called when this dialog is dismissed
Properties
Functions
this will dismiss this dialog (if the interactionSource (DialogInteractionSource.dismissAllowed) does allow this)
make dialog dismissable or not
enable or disable a button
this will determine if a button currently can be pressed