SocialButton constructor

const SocialButton({
  1. Key? key,
  2. required ButtonType type,
  3. Widget? iconWidget,
  4. ButtonSize size = ButtonSize.large,
  5. ButtonShape shape = ButtonShape.rectangular,
  6. ThemeData? themeData,
  7. required VoidCallback onPressed,
  8. bool? isDarkMode,
  9. String? buttonText,
  10. double? elevation = 0.0,
  11. Color? color,
  12. Color? textColor,
  13. bool? isBorderColor,
  14. Color? borderColor,
  15. 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});