Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

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
});

supported buttons

screenshots of the supported buttons are shown below.

google

google suggests two default button styles on it’s
branding page.

light button:

google light button screenshot

dark button:

google dark button screenshot

facebook

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

facebook button screenshot

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.

twitter button screenshot

usage

add flutter_auth_buttons to your pubspec.yaml, then import the dart file:

import 'package:flutter_auth_buttons/flutter_auth_buttons.dart';

see the documentation for api details.


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Comments are closed.