cyan method

AnsiPen cyan({
  1. bool bg = false,
  2. bool bold = false,
})

Sets cyan foreground (or background with bg: true, bright with bold: true).

Implementation

AnsiPen cyan({bool bg = false, bool bold = false}) {
  switch ((bg, bold)) {
    case (true, true):
      styleStack.add(QuectoColors.bgCyanBright);
      break;
    case (true, false):
      styleStack.add(QuectoColors.bgCyan);
      break;
    case (false, true):
      styleStack.add(QuectoColors.cyanBright);
      break;
    case (false, false):
      styleStack.add(QuectoColors.cyan);
      break;
  }
  return this;
}