getIcon method

  1. @override
AuthIcon getIcon(
  1. BuildContext context
)

The method which returns the AuthIcon.

Implementation

@override
AuthIcon getIcon(BuildContext context) {
  return resolvedIconUrl(
    buttonType: style.buttonType,
    iconType: style.iconType,
    iconsPath: AuthIcons.github,
    iconSize: style.iconSize,
    iconColor: style.iconColor,
    materialStyle: getMaterialStyle(context),
    canBeWhite: true,
    isDark: isDark,
    enabled: enabled,
  );
}