GoogleAuthButton constructor
GoogleAuthButton({
- required VoidCallback onPressed,
- Color? buttonColor,
- Color? splashColor,
- double? elevation,
- double borderRadius = 8.0,
- EdgeInsets? padding,
- String text = 'Sign in with Google',
- TextStyle? textStyle,
- bool darkMode = false,
- Color? borderColor,
- double? borderWidth,
- AuthButtonStyle? style,
- double? width,
- double? height,
- double iconSize = 35.0,
- double separator = 10.0,
GoogleAuthButton is a button for authentication with Google.
![](https://raw.githubusercontent.com/elbeicktalat/flutter_auth_buttons/master/doc/api/buttons/google.png)
Implementation
GoogleAuthButton({
required this.onPressed,
this.buttonColor,
this.splashColor,
this.elevation,
this.borderRadius = 8.0,
this.padding,
this.text = 'Sign in with Google',
this.textStyle,
this.darkMode = false,
this.borderColor,
this.borderWidth,
this.style,
this.width,
this.height,
this.iconSize = 35.0,
this.separator = 10.0,
});