v2.1.1flutter_signin_button
一個用於 iOS 和 Android 的 Flutter 插件,可產生不同社群媒體帳戶的登入按鈕。
894喜歡 1.2萬近 30 天下載90Pub 分數
平台暫無資料
一個用於 Flutter 的登入按鈕輔助庫
以下為英文專案原文快照,最新內容請造訪 GitHub。
A Flutter plugin for iOS and Android for generating signin buttons for different social media account.
Feedback and Pull Requests are most welcome!
Add to pubspec.yaml.
dependencies:
...
flutter_signin_button: ^2.1.1
import flutter_signin_button.dart
import 'package:flutter_signin_button/flutter_signin_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 {
Apple,
AppleDark,
Email,
Google,
GoogleDark,
Facebook,
FacebookNew,
GitHub,
LinkedIn,
Pinterest,
Tumblr,
Twitter
}
Refer to example folder and the source code for more information.
依賴清單 3 項
{"sdk":"flutter"}>=9.0.0{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗