v4.1.0sign_in_button
一個用於產生不同社群媒體帳戶登入按鈕的 Flutter 插件。
168喜歡 2.3萬近 30 天下載70Pub 分數
平台暫無資料
flutter_signin_button 的分支。一個用於不同類型登入按鈕的程式庫。
{"sdk":"flutter"}>=11.0.0 <12.0.0{"sdk":"flutter"}>=8.0.0 <11.0.0以下為英文專案原文快照,最新內容請造訪 GitHub。
Fork from flutter_signin_button.
A Flutter plugin for iOS and Android for generating sign-in buttons for different social media account.
Feedback and Pull Requests are most welcome!
Add to pubspec.yaml.
dependencies:
...
sign_in_button: ^4.0.0
import sign_in_button.dart
import 'package:sign_in_button/sign_in_button.dart';
SignInButton(
Buttons.google,
onPressed: () {},
)
// with custom text
SignInButton(
Buttons.google,
text: "Sign up with Google",
onPressed: () {},
)
SignInButton(
Buttons.facebook,
mini: true,
onPressed: () {},
)
SignInButtonBuilder(
text: 'Sign in with Email',
icon: Icons.email,
onPressed: () {},
backgroundColor: Colors.blueGrey.shade700,
)
enum Buttons {
email,
google,
googleDark,
facebook,
facebookNew,
gitHub,
apple,
appleDark,
linkedIn,
pinterest,
tumblr,
twitter,
reddit,
quora,
yahoo,
hotmail,
xbox,
microsoft,
}
https://github.com/juliansteenbakker/sign_in_button/raw/master/showcase.png
Refer to example folder and the source code for more information.