SocialButton constructor
const
SocialButton({
- Key? key,
- required ButtonType type,
- Widget? iconWidget,
- ButtonSize size = ButtonSize.large,
- ButtonShape shape = ButtonShape.rectangular,
- ThemeData? themeData,
- required VoidCallback onPressed,
- bool? isDarkMode,
- String? buttonText,
- double? elevation = 0.0,
- Color? color,
- Color? textColor,
- bool? isBorderColor,
- Color? borderColor,
- double? borderRadius,
Implementation
const SocialButton(
{super.key,
required this.type,
this.iconWidget,
this.size = ButtonSize.large,
this.shape = ButtonShape.rectangular,
this.themeData,
required this.onPressed,
this.isDarkMode,
this.buttonText,
this.elevation = 0.0,
this.color,
this.textColor,
this.isBorderColor,
this.borderColor,
this.borderRadius});