SocialLoginButton constructor
SocialLoginButton({
- Key? key,
- required SocialLoginButtonType buttonType,
- required VoidCallback? onPressed,
- String? imageURL,
- String? imagePath,
- String? text,
- Color? backgroundColor,
- Color? disabledBackgroundColor,
- Color? textColor,
- double? height = 55.0,
- double? borderRadius = 4.0,
- double? fontSize = 15.0,
- double? width,
- double? imageWidth = 45,
- 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);