show method
Shows an InputDialog. See InputDialog for a description of the arguments. While InputDialog needs a close callback, this async method returns the user input.
Implementation
static Future<UserInput> show(
String buttontype,
String htmlTitleText,
List<String> inputTextLabelInfo,
List<List<String>> comboInfo,
List<String> defaultInputTexts,
List<int> sizes,
List<String> isChecked,
bool alternateRowColor,
List<String> buttonLabels) async {
Completer<UserInput> cpl = Completer();
void closeCallback(UserInput results) {
cpl.complete(results);
}
InputDialog(
buttontype,
htmlTitleText,
inputTextLabelInfo,
comboInfo,
defaultInputTexts,
sizes,
isChecked,
closeCallback,
alternateRowColor,
buttonLabels);
return cpl.future;
}