withColor method

TextStyle withColor(
  1. Color color
)

Set TextStyle.color to color for the text.

テキストのTextStyle.colorcolorに設定します。

Implementation

TextStyle withColor(Color color) {
  return copyWith(color: color);
}