SocialButton constructor

const SocialButton({
  1. Key? key,
  2. required Color backgroundColor,
  3. required dynamic onPressed(),
  4. required String text,
  5. IconData? icon,
  6. required Color textColor,
  7. required Color iconColor,
  8. Widget? image,
  9. ShapeBorder? shape,
})

Implementation

const SocialButton(
    {Key? key,
    required this.backgroundColor,
    required this.onPressed,
    required this.text,
    this.icon,
    required this.textColor,
    required this.iconColor,
    this.image,
    this.shape}) : super(key: key);