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.