AnsiStyle.foreground constructor
AnsiStyle.foreground(
- AnsiColor color
Creates foreground style with color
Implementation
factory AnsiStyle.foreground(AnsiColor color) {
return AnsiStyle(AnsiSelection.foreground, color: color);
}