lighten method

TextStyle lighten([
  1. double amount = 0.1
])

Makes TextStyle.color of the text brighter by amount.

テキストのTextStyle.coloramountの分だけより明るくします。

Implementation

TextStyle lighten([double amount = 0.1]) {
  return copyWith(
    color: color?.lighten(amount),
  );
}