DataTableStyles constructor

DataTableStyles({
  1. Style? title,
  2. Style? prompt,
  3. Style? tableHeader,
  4. Style? tableCell,
  5. Style? tableSelected,
  6. Style? dimmed,
  7. Style? noResults,
})

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();