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