GFSocialButton constructor
const
GFSocialButton({
- Key? key,
- required VoidCallback? onPressed,
- required GFSocialType type,
- required GFSocialButtonType buttonType,
- double elevation = 0.0,
- GFButtonShape shape = GFButtonShape.standard,
- double size = GFSize.MEDIUM,
- bool? blockButton,
- bool? fullWidthButton,
- 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);