lighten method
Makes TextStyle.color of the text brighter by amount
.
テキストのTextStyle.colorをamount
の分だけより明るくします。
Implementation
TextStyle lighten([double amount = 0.1]) {
return copyWith(
color: color?.lighten(amount),
);
}
Makes TextStyle.color of the text brighter by amount
.
テキストのTextStyle.colorをamount
の分だけより明るくします。
TextStyle lighten([double amount = 0.1]) {
return copyWith(
color: color?.lighten(amount),
);
}