AppleSignInButton constructor

const AppleSignInButton({
  1. VoidCallback? onPressed,
  2. ButtonType? type = ButtonType.defaultButton,
  3. ButtonStyleApple? style = ButtonStyleApple.white,
  4. double? cornerRadius = 6,
})

Implementation

const AppleSignInButton({
  this.onPressed,
  this.type = ButtonType.defaultButton,
  this.style = ButtonStyleApple.white,
  this.cornerRadius = 6,
})  : assert(type != null),
      assert(style != null),
      assert(cornerRadius != null);