sign_in_button 3.1.0 icon indicating copy to clipboard operation
sign_in_button: ^3.1.0 copied to clipboard

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

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 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 {
  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.

29
likes
140
pub points
92%
popularity

Publisher

verified publisher iconsteenbakker.dev

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

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter, font_awesome_flutter

More

Packages that depend on sign_in_button