SignInButton constructor
const
SignInButton(
- SocialButtons button, {
- Key? key,
- required Function onPressed,
- bool mini = false,
- EdgeInsets padding = EdgeInsets.zero,
- ShapeBorder? shape,
- String? text,
- double elevation = 2.0,
- Clip clipBehavior = Clip.none,
- TextStyle? textStyle,
The constructor is fairly self-explanatory.
Implementation
const SignInButton(
this.button, {
super.key,
required this.onPressed,
this.mini = false,
this.padding = EdgeInsets.zero,
this.shape,
this.text,
this.elevation = 2.0,
this.clipBehavior = Clip.none,
this.textStyle,
});