Search packages, repositories and app categories

flutter_signin_button cover
Package detailsv2.1.1

flutter_signin_button

A Flutter plugin for iOS and Android for generating signin buttons for different social media account.

30-day downloads
11.8K
Likes
894
Pub points
90

Install package

flutter pub add flutter_signin_button

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter plugin that provides pre-designed sign-in buttons for popular social media platforms, supporting both iOS and Android. It simplifies the integration of social authentication by offering customizable, visually consistent buttons that align with platform guidelines. The package is ideal for apps requiring quick user onboarding via Google, Facebook, Apple, or other providers. It handles button styling and event callbacks, reducing boilerplate code. The plugin is lightweight and easy to implement, making it a go-to choice for developers prioritizing clean UI and fast setup.

Use cases

  • Social login implementation
  • User onboarding with third-party accounts
  • Simplified authentication UI
  • Cross-platform sign-in buttons
  • Quick integration with OAuth providers

Key features

  • Pre-built social media buttons
  • Cross-platform support (iOS & Android)
  • Customizable button styles
  • Event handling for sign-in actions
  • Lightweight and easy to integrate

Suitable for

  • Developers seeking rapid social login setup
  • Apps requiring consistent sign-in UI
  • Projects using OAuth-based authentication
  • UI-focused app development
  • Minimalist authentication design

Considerations

  • Limited to predefined button designs
  • No built-in OAuth logic (external auth required)
  • Platform-specific styling may vary
  • Does not include account creation workflows
  • Requires additional packages for full authentication flow

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

A Flutter plugin for iOS and Android for generating signin buttons for different social media account.

Feedback and Pull Requests are most welcome!

Installation

Add to pubspec.yaml.

dependencies:
  ...
  flutter_signin_button: ^2.1.1

Usage Example

import flutter_signin_button.dart

import 'package:flutter_signin_button/flutter_signin_button.dart';
For built-in buttons.
SignInButton(
  Buttons.Google,
  onPressed: () {},
)

// with custom text
SignInButton(
  Buttons.Google,
  text: "Sign up with Google",
  onPressed: () {},
)
For mini buttons.
SignInButton(
  Buttons.Facebook,
  mini: true,
  onPressed: () {},
)
For self-build buttons.
SignInButtonBuilder(
  text: 'Sign in with Email',
  icon: Icons.email,
  onPressed: () {},
  backgroundColor: Colors.blueGrey.shade700,
)
Built-in Buttons contain
enum Buttons {
  Apple,
  AppleDark,
  Email,
  Google,
  GoogleDark,
  Facebook,
  FacebookNew,
  GitHub,
  LinkedIn,
  Pinterest,
  Tumblr,
  Twitter
}

Refer to example folder and the source code for more information.

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package