showMenu static method

Future<int> showMenu(
  1. String title,
  2. List<String> options, {
  3. int? defaultIndex,
})

Implementation

static Future<int> showMenu(String title, List<String> options, {int? defaultIndex}) =>
    SelectPrompt.showMenu(title, options, defaultIndex: defaultIndex);