AppleLoginButton.icon constructor

const AppleLoginButton.icon({
  1. Key? key,
  2. VoidCallback? onPressed,
  3. double? width,
  4. double? height,
  5. double borderRadius = 6,
  6. bool isDark = true,
  7. bool isLoading = false,
  8. bool disabled = false,
})

아이콘만 있는 버튼 (다크 모드)

Implementation

const AppleLoginButton.icon({
  super.key,
  this.onPressed,
  this.width,
  this.height,
  this.borderRadius = 6,
  this.isDark = true,
  this.isLoading = false,
  this.disabled = false,
})  : text = '',
      size = ButtonSize.icon;