pub trait ToastableDialogExt: 'static {
// Required methods
fn child_content(&self) -> Option<Widget>;
fn set_child_content(&self, content: Option<&Widget>);
fn add_toast(&self, toast: Toast);
}Required Methods§
Sourcefn child_content(&self) -> Option<Widget>
fn child_content(&self) -> Option<Widget>
Get the content of this dialog.
Sourcefn set_child_content(&self, content: Option<&Widget>)
fn set_child_content(&self, content: Option<&Widget>)
Set the content of this dialog.
Use this instead of set_child or set_content, otherwise it will
panic.