SocialButton constructor

const SocialButton({
  1. Key? key,
  2. required ButtonType type,
  3. MainAxisAlignment? mainAxisAlignment = MainAxisAlignment.center,
  4. CrossAxisAlignment? crossAxisAlignment = CrossAxisAlignment.center,
  5. double? height = 48,
  6. Widget? iconWidget,
  7. ButtonSize size = ButtonSize.large,
  8. ButtonShape shape = ButtonShape.rectangular,
  9. ThemeData? themeData,
  10. required VoidCallback onPressed,
  11. bool? isDarkMode,
  12. String? buttonText,
  13. double? elevation = 0.0,
  14. Color? color,
  15. Color? textColor,
  16. bool? isBorderColor,
  17. Color? borderColor,
  18. double? borderRadius,
})

Implementation

const SocialButton(
    {super.key,
    required this.type,
    this.mainAxisAlignment = MainAxisAlignment.center,
    this.crossAxisAlignment = CrossAxisAlignment.center,
    this.height = 48,
    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});