Dialog
fun Dialog( dialogType: DialogType, title: String, header: String, message: String, vararg buttons: ButtonType)
Content copied to clipboard
Creates a Dialog.
For exception dialogs refer to exception constructor.
Parameters
dialog Type
The DialogType of the alert. Affects the displayed icon.
title
Title to be shown.
header
Headline to be shown in the dialogs content.
message
Message to be shown in the dialogs content.
buttons
Buttons to be shown. Standard set of buttons according to dialogType will be used if you don't pass any ButtonTypes.
fun Dialog( title: String, header: String, message: String, exception: Throwable)
Content copied to clipboard
Creates an exception Dialog.
For information dialogs refer to information constructor.
Parameters
title
Title to be shown.
header
Headline to be shown in the dialogs content.
message
Message to be shown.
exception
Throwable to be shown in expandable content.