OAuthProviderButton constructor

const OAuthProviderButton({
  1. Key? key,
  2. required OAuthProvider provider,
  3. OAuthButtonVariant? variant = OAuthButtonVariant.icon_and_text,
  4. AuthAction? action,
  5. 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,
});