black method
Sets black foreground (or background with bg: true, bright with bold: true).
Implementation
AnsiPen black({bool bg = false, bool bold = false}) {
switch ((bg, bold)) {
case (true, true):
styleStack.add(QuectoColors.bgGray);
break;
case (true, false):
styleStack.add(QuectoColors.bgBlack);
break;
case (false, true):
styleStack.add(QuectoColors.gray);
break;
case (false, false):
styleStack.add(QuectoColors.black);
break;
}
return this;
}