chooseOption static method

List<int> chooseOption(
  1. String prompt,
  2. List<String> options, {
  3. bool isMultiSelect = false,
  4. String selectedIndicator = "[x]",
  5. String unselectedIndicator = "[ ]",
  6. String selectionIndicator = "->",
})

Implementation

static List<int> chooseOption(
  String prompt,
  List<String> options, {
  bool isMultiSelect = false,
  String selectedIndicator = "[x]",
  String unselectedIndicator = "[ ]",
  String selectionIndicator = "->",
}) =>
    chooseImpl(
      prompt,
      options,
      isMultiSelect: isMultiSelect,
      selectedIndicator: selectedIndicator,
      unselectedIndicator: unselectedIndicator,
      selectionIndicator: selectionIndicator,
    );