Skip to content
pubscout

sign_in_button

5.0.0, released 6 months ago by steenbakker.dev

A Flutter plugin for generating sign-in buttons for different social media accounts.

WASM-ready
$ flutter pub add sign_in_button
Source repository

What it does

Generates pre-styled sign-in buttons for various social media accounts like Google, Facebook, Apple, and GitHub. Provides both built-in buttons with standard branding and custom button builders.

AI-written summary of version 5.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need pre-styled social sign-in buttons conforming to platform design guidelines.
  • You want to quickly add standard buttons for Google, Apple, Facebook, and other providers.

Skip it when

  • You only need actual authentication logic (this package only provides UI buttons).
  • You require custom branding that diverges completely from standard social buttons.

Strengths

  • Supports a wide range of built-in social sign-in buttons.
  • Includes mini button variants and loading states for async actions.
  • Customizable text and builder widget for unique button styles.

Weaknesses

  • Does not handle the actual authentication logic or SDK integrations for the providers.
  • Requires manual implementation of sign-in flows alongside the buttons.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Add the package to pubspec.yaml dependencies.

SignInButton(
  Buttons.google,
  onPressed: () {},
)

Alternatives

Packages that do the same job and could replace sign_in_button.

Works with

Packages commonly used together with sign_in_button: ones it builds on, ones built on it, and its own family.