withColor static method

TextStyle withColor(
  1. TextStyle baseStyle,
  2. Color color
)

Implementation

static TextStyle withColor(TextStyle baseStyle, Color color) =>
    baseStyle.copyWith(color: color);