getProgressIndicatorValueColor method

  1. @override
Color? getProgressIndicatorValueColor()

getProgressIndicatorValueColor() a method where returns the progressIndicatorValueColor.

Implementation

@override
Color? getProgressIndicatorValueColor() {
  if (style!.buttonType == AuthButtonType.secondary)
    return darkMode ? Color(0xff6d7c8b) : AuthColors.github;
  if (style!.buttonType != AuthButtonType.secondary)
    return const Color(0xff6d7c8b);
}