DataTableStyles constructor
DataTableStyles({})
Implementation
DataTableStyles({
Style? title,
Style? prompt,
Style? tableHeader,
Style? tableCell,
Style? tableSelected,
Style? dimmed,
Style? noResults,
}) : title = title ?? Style().bold(),
prompt = prompt ?? Style().foreground(AnsiColor(11)),
tableHeader = tableHeader ?? Style().bold().padding(0, 1),
tableCell = tableCell ?? Style().padding(0, 1),
tableSelected =
tableSelected ?? Style().bold().foreground(AnsiColor(212)),
dimmed = dimmed ?? Style().foreground(AnsiColor(8)),
noResults = noResults ?? Style().foreground(AnsiColor(8)).italic();