GoogleSignInButton constructor

const GoogleSignInButton({
  1. Key? key,
  2. required dynamic onCompleted(
    1. bool,
    2. PumaFireUser
    ),
  3. required dynamic onError(
    1. dynamic
    ),
  4. dynamic onStarted()?,
  5. String text = "Sign in with Google",
})

Implementation

const GoogleSignInButton({
  Key? key,
  required this.onCompleted,
  required this.onError,
  this.onStarted,
  this.text = "Sign in with Google",
}) : super(key: key);