accentColor method
Accent color for the given mode.
Implementation
Color accentColor() {
return palette.brightness() == Brightness.light
? resourceValues.lightMode!.accentColor
: resourceValues.darkMode!.accentColor;
}
Accent color for the given mode.
Color accentColor() {
return palette.brightness() == Brightness.light
? resourceValues.lightMode!.accentColor
: resourceValues.darkMode!.accentColor;
}