OAuthProviderButton constructor
const
OAuthProviderButton({
- Key? key,
- required OAuthProvider provider,
- OAuthButtonVariant? variant = OAuthButtonVariant.icon_and_text,
- AuthAction? action,
- FirebaseAuth? auth,
A button that is used to sign in with an OAuth provider.
Implementation
const OAuthProviderButton({
super.key,
/// {@macro ui.auth.widgets.oauth_provider_button.provider}
required this.provider,
/// {@macro ui.auth.widgets.oauth_provider_button.oauth_button_variant}
this.variant = OAuthButtonVariant.icon_and_text,
/// {@macro ui.auth.auth_action}
this.action,
/// {@macro ui.auth.auth_controller.auth}
this.auth,
});