getButtonColor method

  1. @override
Color getButtonColor()

getButtonColor() a method which returns the buttonColor.

For more info about ButtonColor take a look on ButtonColor

Implementation

@override
Color getButtonColor() {
  return resolvedButtonColor(
    buttonColor: ButtonColor(
      AuthColors.huawei,
      onSecondaryIcon: Colors.white,
    ),
    darkMode: this.darkMode,
    enabled: this.enabled,
    buttonType: style!.buttonType,
    iconType: style!.iconType,
  );
}