Search packages, repositories and app categories

GitHub repositoryZaynJarvis/Flutter-Sign-in-Button

Flutter-Sign-in-Button

A sign in button helper library for Flutter

Flutter-Sign-in-Button project cover
Stars
232
Forks
127
Last push (UTC)
Aug 14, 2025
Project status
Active

Original README

English project snapshot. Visit GitHub 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.

Zayn Jarvis GitHub avatar
GitHub author

Zayn Jarvis ↗

OpenViking-ing, boating in the AI era. FIRE or go home.

TikTok Pte. Ltd. SingaporeOfficial website ↗
LanguagesDartObjective-CShellSwiftJavaKotlin

Packages published by this repository

Dependencies used

Dependency list 3 items

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗