GoogleSignInButton constructor

const GoogleSignInButton({
  1. Key? key,
  2. required Widget loadingIndicator,
  3. required String clientId,
  4. String? redirectUri,
  5. List<String>? scopes,
  6. AuthAction? action = null,
  7. FirebaseAuth? auth,
  8. bool? isLoading,
  9. String? label,
  10. DifferentProvidersFoundCallback? onDifferentProvidersFound,
  11. SignedInCallback? onSignedIn,
  12. void onTap()?,
  13. bool? overrideDefaultTapAction,
  14. double? size,
  15. void onError(
    1. Exception exception
    )?,
  16. VoidCallback? onCanceled,
})

Implementation

const GoogleSignInButton({
  super.key,
  required super.loadingIndicator,
  required super.clientId,
  super.redirectUri,
  super.scopes,
  super.action = null,
  super.auth,
  bool? isLoading,
  super.label,
  super.onDifferentProvidersFound,
  super.onSignedIn,
  super.onTap,
  super.overrideDefaultTapAction,
  super.size,
  super.onError,
  super.onCanceled,
}) : super(
        isLoading: isLoading ?? false,
      );