SearchStyles constructor
SearchStyles({})
Implementation
SearchStyles({
Style? title,
Style? prompt,
Style? item,
Style? selectedItem,
Style? matchHighlight,
Style? cursor,
Style? dimmed,
Style? noResults,
String? cursorPrefix,
String? itemPrefix,
}) : title = title ?? Style().bold(),
prompt = prompt ?? Style().foreground(AnsiColor(11)),
item = item ?? Style(),
selectedItem = selectedItem ?? Style().foreground(AnsiColor(14)),
matchHighlight =
matchHighlight ?? Style().foreground(AnsiColor(11)).bold(),
cursor = cursor ?? Style().foreground(AnsiColor(14)),
dimmed = dimmed ?? Style().foreground(AnsiColor(8)),
noResults = noResults ?? Style().foreground(AnsiColor(8)).italic(),
cursorPrefix = cursorPrefix ?? '❯ ',
itemPrefix = itemPrefix ?? ' ';