foreground

foreground

Examples

assert(TextStyle(Color.red, Color.same) == Color.red.foreground);
assert(TextStyle().fg(Color.red) == foreground(Color.red));

Meta