getButtonColor method
getButtonColor() a method which returns the buttonColor.
For more info about ButtonColor take a look on ButtonColor
Implementation
@override
Color getButtonColor() {
if (!enabled) return darkMode ? Color(0xff5a5a5a) : AuthColors.disabled;
return darkMode ? AuthColors.darkMode : Colors.white;
}