foregroundColor method

StyledBlock foregroundColor(
  1. Color color
)

Sets the foreground (text) color.

Implementation

StyledBlock foregroundColor(Color color) {
  _foregroundColor = color;
  return this;
}