getButtonColor method Null safety
- bool darkMode
Implementation
Color getButtonColor(bool darkMode) {
if (darkMode) {
return _getLightColors();
} else {
return _getDarkColors();
}
}
Color getButtonColor(bool darkMode) {
if (darkMode) {
return _getLightColors();
} else {
return _getDarkColors();
}
}