getIconUrl method

  1. @override
String getIconUrl()

Implementation

@override
String getIconUrl() {
  if (style!.iconType == AuthIconType.outlined)
    return darkMode ? AuthIcons.huaweiWhite[1] : AuthIcons.huawei[1];
  if (style!.iconType == AuthIconType.secondary) return AuthIcons.huawei[2];
  return (style!.buttonType == AuthButtonType.secondary)
      ? AuthIcons.huawei[0]
      : AuthIcons.huaweiWhite[0];
}