build method
The build function 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.zero,
color: backgroundColor,
onPressed: onPressed as void Function()?,
splashColor: splashColor,
highlightColor: highlightColor,
shape: shape ?? ButtonTheme.of(context).shape,
clipBehavior: clipBehavior,
child: _getButtonChild(context),
);
}