RankedListPrompt<T> constructor

RankedListPrompt<T>({
  1. required String title,
  2. required List<T> items,
  3. PromptTheme theme = PromptTheme.dark,
  4. int maxVisible = 12,
  5. bool alwaysShowSearch = true,
  6. bool initialFuzzyMode = true,
  7. int reservedLines = 8,
})

Implementation

RankedListPrompt({
  required this.title,
  required this.items,
  this.theme = PromptTheme.dark,
  this.maxVisible = 12,
  this.alwaysShowSearch = true,
  this.initialFuzzyMode = true,
  this.reservedLines = 8,
});