defaultBrushFor method
Get the default brush for this accent color based on the brightness.
See also:
Implementation
Color defaultBrushFor(Brightness brightness) {
if (brightness.isDark) {
return lighter;
} else {
return dark;
}
}
Get the default brush for this accent color based on the brightness.
See also:
Color defaultBrushFor(Brightness brightness) {
if (brightness.isDark) {
return lighter;
} else {
return dark;
}
}