SignInButtonBuilder constructor
SignInButtonBuilder({
- Key? key,
- required Color backgroundColor,
- required Function onPressed,
- required String text,
- IconData? icon,
- Widget? image,
- double fontSize = 14.0,
- Color textColor = Colors.white,
- Color iconColor = Colors.white,
- Color splashColor = Colors.white30,
- Color highlightColor = Colors.white30,
- EdgeInsets? padding,
- EdgeInsets? innerPadding,
- bool mini = false,
- double elevation = 2.0,
- ShapeBorder? shape,
- double? height,
- 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,
});