Skip to content

Repository files navigation

Fork from flutter_signin_button.

A Flutter plugin for iOS and Android for generating sign-in buttons for different social media account.

Feedback and Pull Requests are most welcome!

Installation

Add to pubspec.yaml.

dependencies:
...sign_in_button: ^3.0.0

Usage Example

import sign_in_button.dart

import'package:sign_in_button/sign_in_button.dart';

For built-in buttons.

SignInButton(
Buttons.google,
onPressed: () {},
)
// with custom textSignInButton(
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

enumButtons {
email,
google,
googleDark,
facebook,
facebookNew,
gitHub,
apple,
appleDark,
linkedIn,
pinterest,
tumblr,
twitter,
reddit,
quora,
yahoo,
hotmail,
xbox,
microsoft,
}

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages