GFSocialButton constructor

const GFSocialButton({
  1. Key? key,
  2. required VoidCallback? onPressed,
  3. required GFSocialType type,
  4. required GFSocialButtonType buttonType,
  5. double elevation = 0.0,
  6. GFButtonShape shape = GFButtonShape.standard,
  7. double size = GFSize.MEDIUM,
  8. bool? blockButton,
  9. bool? fullWidthButton,
  10. VoidCallback? onLongPress,
})

Create buttons of all types. check out GFIconButton for icon buttons, and GFBadge for badges

Implementation

const GFSocialButton({
  Key? key,
  required this.onPressed,
  required this.type,
  required this.buttonType,
  this.elevation = 0.0,
  this.shape = GFButtonShape.standard,
  this.size = GFSize.MEDIUM,
  this.blockButton,
  this.fullWidthButton,
  this.onLongPress,
}) : super(key: key);