contrast method
Implementation
Color contrast(Brightness brighness, double amount) {
return brighness == Brightness.light ? darken(amount) : lighten(amount);
}
Color contrast(Brightness brighness, double amount) {
return brighness == Brightness.light ? darken(amount) : lighten(amount);
}