SignInButtonBuilder constructor

SignInButtonBuilder({
  1. Key? key,
  2. required Color backgroundColor,
  3. required Function onPressed,
  4. required String text,
  5. IconData? icon,
  6. Widget? image,
  7. double fontSize = 14.0,
  8. Color textColor = Colors.white,
  9. Color iconColor = Colors.white,
  10. Color splashColor = Colors.white30,
  11. Color highlightColor = Colors.white30,
  12. EdgeInsets? padding,
  13. EdgeInsets? innerPadding,
  14. bool mini = false,
  15. double elevation = 2.0,
  16. ShapeBorder? shape,
  17. double? height,
  18. double? width,
})

The constructor is self-explanatory.

Implementation

SignInButtonBuilder({
  Key? key,
  required this.backgroundColor,
  required this.onPressed,
  required this.text,
  this.icon,
  this.image,
  this.fontSize = 14.0,
  this.textColor = Colors.white,
  this.iconColor = Colors.white,
  this.splashColor = Colors.white30,
  this.highlightColor = Colors.white30,
  this.padding,
  this.innerPadding,
  this.mini = false,
  this.elevation = 2.0,
  this.shape,
  this.height,
  this.width,
});