build method
The build funtion will be help user to build the signin button widget.
Implementation
@override
Widget build(BuildContext context) {
return MaterialButton(
key: key,
minWidth: mini ? width ?? 35.0 : null,
height: height,
elevation: elevation,
padding: padding ?? EdgeInsets.all(0),
color: backgroundColor,
onPressed: onPressed as void Function()?,
splashColor: splashColor,
highlightColor: highlightColor,
child: _getButtonChild(context),
shape: shape ?? ButtonTheme.of(context).shape,
);
}