SignInButton constructor
SignInButton({
- required ButtonType buttonType,
- required VoidCallback? onPressed,
- ImagePosition? imagePosition = ImagePosition.left,
- ButtonSize buttonSize = ButtonSize.small,
- Color? btnColor,
- Color? btnDisabledColor,
- Color? btnTextColor,
- Color? btnDisabledTextColor,
- String? btnText,
- double elevation = 5.0,
- double? width,
- double? padding,
- ShapeBorder? shape,
- CustomImage? customImage,
Implementation
SignInButton({
required this.buttonType,
required this.onPressed,
this.imagePosition = ImagePosition.left,
this.buttonSize = ButtonSize.small,
this.btnColor,
this.btnDisabledColor,
this.btnTextColor,
this.btnDisabledTextColor,
this.btnText,
this.elevation = 5.0,
this.width,
this.padding,
this.shape,
this.customImage,
}) : mini = false;