auth_social_buttons 2.0.2 copy "auth_social_buttons: ^2.0.2" to clipboard
auth_social_buttons: ^2.0.2 copied to clipboard

Material buttons for logging into popular social networks, including Google, Facebook, Twitter and Microsoft.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:auth_social_buttons/auth_social_buttons.dart';

void main() async {
  runApp(new MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    const padding = 25.0;

    return MaterialApp(
      title: 'Button Demo',
      home: Scaffold(
        appBar: AppBar(
          title: Text("auth_social_buttons"),
        ),
        backgroundColor: Color.fromARGB(0xFF, 0xF0, 0xF0, 0xF0),
        body: SingleChildScrollView(
          child: Column(
            crossAxisAlignment: CrossAxisAlignment.stretch,
            children: <Widget>[
              Column(
                children: <Widget>[
                  SizedBox(height: padding),
                  AppleSignInButton(onPressed: () {}),
                  AppleSignInButton(
                      onPressed: () {}, style: AppleButtonStyle.whiteOutline),
                  AppleSignInButton(
                      onPressed: () {}, style: AppleButtonStyle.black),
                  SizedBox(height: padding),
                  GoogleSignInButton(onPressed: () {}),
                  GoogleSignInButton(onPressed: () {}, darkMode: true),
                  SizedBox(height: padding),
                  FacebookSignInButton(onPressed: () {}),
                  SizedBox(height: padding),
                  TwitterSignInButton(onPressed: () {}),
                  SizedBox(height: padding),
                  MicrosoftSignInButton(onPressed: () {}),
                  MicrosoftSignInButton(onPressed: () {}, darkMode: true),
                ],
              ),
            ],
          ),
        ),
      ),
    );
  }
}
16
likes
0
points
33
downloads

Publisher

unverified uploader

Weekly Downloads

Material buttons for logging into popular social networks, including Google, Facebook, Twitter and Microsoft.

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on auth_social_buttons