getIconBackground method

  1. @override
Color getIconBackground()
inherited

Implementation

@override
Color getIconBackground() {
  if (style!.buttonType == AuthButtonType.secondary)
    return style!.iconBackground ??
        (darkMode ? Colors.black26 : Colors.white);
  return style!.iconBackground ?? Colors.transparent;
}