largize method

TextStyle largize([
  1. double amount = 1
])

Increase TextStyle.fontSize of the text by the amount of amount.

テキストのTextStyle.fontSizeamountの分だけ大きくします。

Implementation

TextStyle largize([double amount = 1]) {
  return copyWith(fontSize: fontSize == null ? null : (fontSize! + amount));
}