SearchableListPrompt<T> constructor

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

Implementation

SearchableListPrompt({
  required this.title,
  required this.items,
  this.theme = PromptTheme.dark,
  this.multiSelect = false,
  this.maxVisible = 10,
  this.initialSelection,
  this.searchEnabled = true,
  this.reservedLines = 7,
});