socialButtonIcon method

Widget socialButtonIcon(
  1. Widget? icon,
  2. Color color
)

Implementation

Widget socialButtonIcon(Widget? icon, Color color) => Material(
      shape: RoundedRectangleBorder(
        borderRadius: shape == GFButtonShape.pills
            ? BorderRadius.circular(50)
            : BorderRadius.circular(0),
      ),
      elevation: elevation,
      child: GFIconButton(
        onPressed: () {},
        icon: icon!,
        color: color,
        size: size,
        type: GFButtonType.solid,
        shape: shape == GFButtonShape.standard
            ? GFIconButtonShape.standard
            : shape == GFButtonShape.pills
                ? GFIconButtonShape.circle
                : GFIconButtonShape.square,
      ),
    );