withSize method

TextStyle withSize(
  1. double fontSize
)

Set TextStyle.fontSize to fontSize for the text.

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

Implementation

TextStyle withSize(double fontSize) {
  return copyWith(fontSize: fontSize);
}