darken method
Darken the shade of the Color in the Paint object by the amount
.
amount
is a double between 0 and 1.
Based on: https://stackoverflow.com/a/60191441.
Implementation
void darken(double amount) {
color = color.darken(amount);
}
Darken the shade of the Color in the Paint object by the amount
.
amount
is a double between 0 and 1.
Based on: https://stackoverflow.com/a/60191441.
void darken(double amount) {
color = color.darken(amount);
}