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