AppleAuthButton constructor

AppleAuthButton({
  1. required VoidCallback onPressed,
  2. Color? buttonColor,
  3. Color? splashColor,
  4. double? elevation,
  5. double borderRadius = 8.0,
  6. EdgeInsets? padding,
  7. String text = 'Sign in with Apple',
  8. TextStyle? textStyle,
  9. bool darkMode = false,
  10. Color? borderColor,
  11. double? borderWidth,
  12. AuthButtonStyle? style,
  13. double? width,
  14. double? height,
  15. double iconSize = 35.0,
  16. double separator = 10.0,
})

AppleAuthButton is a button for authentication with Apple.


![](https://raw.githubusercontent.com/elbeicktalat/flutter_auth_buttons/master/doc/api/buttons/apple.png)

Implementation

AppleAuthButton({
  required this.onPressed,
  this.buttonColor,
  this.splashColor,
  this.elevation,
  this.borderRadius = 8.0,
  this.padding,
  this.text = 'Sign in with Apple',
  this.textStyle,
  this.darkMode = false,
  this.borderColor,
  this.borderWidth,
  this.style,
  this.width,
  this.height,
  this.iconSize = 35.0,
  this.separator = 10.0,
});