brighten method
Brighten 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 brighten(double amount) {
color = color.brighten(amount);
}