GoogleLoginButton.icon constructor

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

아이콘만 있는 버튼

Implementation

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