auth_buttons 0.0.4 auth_buttons: ^0.0.4 copied to clipboard
Auth Buttons is a flutter widget library, include buttons for authenticating with the most popular social networks like Google, Facebook, Apple and Twitter.
auth_buttons #
Auth Buttons is a flutter widget library, include buttons for authenticating with the most popular social networks like: Google, Facebook, Apple and too other.
Installation #
- add this to your packages pubspec.yaml file:
dependencies:
auth_buttons: ^0.0.4
- Install it You can install it from the command line:
$ flutter pub get
- Import it Now in Dart code, you can use:
import 'package:auth_buttons/auth_buttons.dart';
Using #
You need to use just the following code:
GoogleAuthButton(
onPressed: () {},
darkMode: false,
style: AuthButtonStyle.icon,
),
GoogleAuthButton(
onPressed: () {},
darkMode: true,
style: AuthButtonStyle.icon,
),
GoogleAuthButton(
onPressed: () {},
darkMode: false,
),
GoogleAuthButton(
onPressed: () {},
darkMode: true,
),
Do same think with the other buttons, when you want customize any button you can do it just passing a property which you want.