prompt
fun prompt(message: String, title: String? = null, buttonLabels: List<String>? = null, defaultText: String? = null, callback: (PromptResponse) -> Unit)
Show prompt dialog.
Parameters
message
a message
title
an optional dialog title (defaults to Prompt)
button Labels
an optional list of button labels (defaults to OK, Cancel)
default Text
default input value (default to empty string)
callback
a callback function