TableStyles constructor

TableStyles({
  1. Style? header,
  2. Style? cell,
  3. Style? selected,
})

Creates table styles.

Implementation

TableStyles({Style? header, Style? cell, Style? selected})
  : header = header ?? Style().bold().padding(0, 1),
    cell = cell ?? Style().padding(0, 1),
    selected = selected ?? Style().bold().foreground(AnsiColor(212));