GoogleProvider constructor
GoogleProvider({})
Implementation
GoogleProvider({
required this.clientId,
this.redirectUri,
this.scopes,
this.iOSPreferPlist = false,
}) {
firebaseAuthProvider.setCustomParameters(const {
'prompt': 'select_account',
});
if (_ignoreClientId()) {
provider = GoogleSignIn(scopes: scopes ?? []);
} else {
provider = GoogleSignIn(
clientId: clientId,
scopes: scopes ?? [],
);
}
}