SignInWithAppleButton constructor

const SignInWithAppleButton({
  1. Key? key,
  2. required VoidCallback onPressed,
  3. String text = 'Sign in with Apple',
  4. double height = 44,
  5. SignInWithAppleButtonStyle style = SignInWithAppleButtonStyle.black,
  6. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(8.0)),
  7. IconAlignment iconAlignment = IconAlignment.center,
})

Implementation

const SignInWithAppleButton({
  super.key,
  required this.onPressed,
  this.text = 'Sign in with Apple',
  this.height = 44,
  this.style = SignInWithAppleButtonStyle.black,
  this.borderRadius = const BorderRadius.all(Radius.circular(8.0)),
  this.iconAlignment = IconAlignment.center,
});