get2D method
This method is similar to get, with the following difference: it displays
not a single, but two columns with texts, text entry fields etc.
So, the meaning of the arguments is the same as for get, except for the
following which reflect the 2D features:
comboInfoND
- acts like comboInfo
in get, but values for the two
columns must be given. Use the Map keys InputDialog.COL1 and
InputDialog.COL2 for this.
defaultInputTextsND
= like defaultInputTexts
inget, but values for the two
columns must be given. Use the Map keys InputDialog.COL1 and
InputDialog.COL2 for this.
Please refer to the example showAdvancedInputDialog2D
in the file
examples.dart
of this package.
Implementation
static Future<UserInput> get2D(
String buttontype,
String htmlTitleText,
List<String> textLabels,
Map<int, List<List<String>>> comboInfoND,
Map<int, List<String>> defaultInputTextsND,
List<int> widths,
List<String> isChecked,
bool alternateRowColor,
List<String> buttonLabels) async {
return InputDialog.show2D(
buttontype,
htmlTitleText,
textLabels,
comboInfoND,
defaultInputTextsND,
widths,
isChecked,
alternateRowColor,
buttonLabels);
}