SelectableListPrompt<T> constructor

SelectableListPrompt<T>({
  1. required String title,
  2. required List<T> items,
  3. PromptTheme theme = PromptTheme.dark,
  4. bool multiSelect = false,
  5. int maxVisible = 12,
  6. Set<int>? initialSelection,
  7. int reservedLines = 7,
})

Implementation

SelectableListPrompt({
  required this.title,
  required this.items,
  this.theme = PromptTheme.dark,
  this.multiSelect = false,
  this.maxVisible = 12,
  this.initialSelection,
  this.reservedLines = 7,
});