setTextStyle method
void
setTextStyle({})
Sets the text style.
Note that not all styles may be supported by all terminals.
Implementation
void setTextStyle(
{bool bold = false,
bool faint = false,
bool italic = false,
bool underscore = false,
bool blink = false,
bool inverted = false,
bool invisible = false,
bool strikethru = false}) {
stdout.write(ansiSetTextStyles(
bold: bold,
faint: faint,
italic: italic,
underscore: underscore,
blink: blink,
inverted: inverted,
invisible: invisible,
strikethru: strikethru));
}