sign_in_button 3.2.0 copy "sign_in_button: ^3.2.0" to clipboard
sign_in_button: ^3.2.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.

119
likes
160
pub points
97%
popularity

Publisher

verified publishersteenbakker.dev

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, font_awesome_flutter

More

Packages that depend on sign_in_button