withColor method

TextStyle withColor(
  1. Color color
)

Applies a color to the text style

Implementation

TextStyle withColor(Color color) =>
    copyWith(color: color, decorationColor: color);