SocialButtonConfiguration constructor
SocialButtonConfiguration({})
An Object thats used to provide Configuration settings to a SocialButton
signInWithRedirect
(default false) is a boolean that is Flutter Web only and basically allows you to chose if you want your
OAuth Screen to be a popup or a redirect. Setting this to true, will use a redirect. Currenly only useful in Google SignIn.
onError
a Callback for any Error that may occur
onSignInSuccessful
a Callback to perform any action after a successful SignIn
foregroundColor
is the Text Color
backgroundColor
is the Background Color
Implementation
SocialButtonConfiguration({
this.foregroundColor,
this.backgroundColor,
this.signInWithRedirect,
this.onError,
this.onSignInSuccessful,
});