dotup_flutter_signin_button 1.0.1 dotup_flutter_signin_button: ^1.0.1 copied to clipboard
A Flutter plugin for iOS and Android for generating signin buttons for different social media account.
A Flutter plugin for all platforms for generating signin buttons for different social media account.
dotup.de #
Installation #
Add to pubspec.yaml.
dependencies:
...
dotup_flutter_signin_button: ^1.0.0
Usage Example #
import dotup_flutter_signin_button.dart
import 'package:dotup_flutter_signin_button/dotup_flutter_signin_button.dart';
For built-in buttons. #
SignInButton(
Buttons.Google,
onPressed: () {},
)
// with custom text
SignInButton(
Buttons.Google,
text: "Mit Google anmelden",
onPressed: () {},
)
For mini buttons. #
SignInButton.mini(
Buttons.Facebook,
onPressed: () {},
)
Built-in Buttons contain #
enum Buttons {
Apple,
Email,
Google,
Facebook,
GitHub,
LinkedIn,
Pinterest,
Tumblr,
Twitter
}
Refer to example folder and the source code for more information.
based on https://github.com/ZaynJarvis/Flutter-Sign-in-Button