foregroundIndex property
Returns the ANSI index for the foreground color.
Implementation
int get foregroundIndex => isBright ? index - 8 + 90 : index + 30;
Returns the ANSI index for the foreground color.
int get foregroundIndex => isBright ? index - 8 + 90 : index + 30;