SocialSignInButton constructor

const SocialSignInButton({
  1. Key? key,
  2. required VoidCallback onPressed,
  3. required IconData icon,
  4. required String title,
  5. Color? color,
})

Creates a SocialSignInButton with the given title, icon, and onPressed function. The optional color parameter customizes the button's icon and text color.

Implementation

const SocialSignInButton({
  super.key,
  required this.onPressed,
  required this.icon,
  required this.title,
  this.color,
});