SocialLoginButton constructor

SocialLoginButton({
  1. Key? key,
  2. required SocialLoginButtonType buttonType,
  3. required VoidCallback? onPressed,
  4. String? imageURL,
  5. String? imagePath,
  6. String? text,
  7. Color? backgroundColor,
  8. Color? disabledBackgroundColor,
  9. Color? textColor,
  10. double? height = 55.0,
  11. double? borderRadius = 4.0,
  12. double? fontSize = 15.0,
  13. double? width,
  14. double? imageWidth = 45,
  15. SocialLoginButtonMode? mode = SocialLoginButtonMode.multi,
})

Implementation

SocialLoginButton({
  Key? key,
  required this.buttonType,
  required this.onPressed,
  this.imageURL,
  this.imagePath,
  this.text,
  this.backgroundColor,
  this.disabledBackgroundColor,
  this.textColor,
  this.height = 55.0,
  this.borderRadius = 4.0,
  this.fontSize = 15.0,
  this.width,
  this.imageWidth = 45,
  this.mode = SocialLoginButtonMode.multi,
}) : super(key: key);