Saturday, 6 July 2019

Flutter buttons for Facebook and Twitter sign in

flutter tutorial,flutter,flutter tutorial for beginners,flutter app,flutter tutorials,flutter sdk,tutorial,flutter course,learn flutter,flutter tutorial ios,flutter firebase tutorial,flutter widgets,flutter app development tutorial,flutter ios,flutter dart,flutter android,google flutter,flutter sdk tutorial,flutter tutorial app,google flutter tutorial,flutter sqflite tutorial,flutter tutorial deutsch,flutter tutorial android


Flutter Auth Buttons

Flutter widget library containing buttons for authenticating with popular social networks.
These buttons do not contain authentication logic. They are designed to be used with authentication packages, such as firebase_auth. Use the onPressed attribute to capture the button press and call your authentication logic within that.
GoogleSignInButton(onPressed: () {
  // call authentication logic
});
Dart

Supported buttons

Screenshots of the supported buttons are shown below.

Google

Google suggests two default button styles on it's
branding page.
Light button:

Dark button:

Facebook

Facebook has fewer guidelines for designing their buttons (see
here). This button was designed to
match the example given in their documentation.

Twitter

Like Facebook, Twitter doesn't prescribe a precise button (see
here).
This button was designed to match the colours and style used in their example images.

Usage

Add flutter_auth_buttons to your pubspec.yaml, then import the Dart file:
import 'package:flutter_auth_buttons/flutter_auth_buttons.dart';







GitHub

Flutter buttons for social platforms — Read More
Latest commit to the master branch on 5-22-2019
Download as zip