SignInButton constructor

const SignInButton(
  1. SocialButtons button, {
  2. Key? key,
  3. required Function onPressed,
  4. bool mini = false,
  5. EdgeInsets padding = EdgeInsets.zero,
  6. ShapeBorder? shape,
  7. String? text,
  8. double elevation = 2.0,
  9. Clip clipBehavior = Clip.none,
  10. 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,
});