flutter_auth_ui 1.0.0
flutter_auth_ui: ^1.0.0 copied to clipboard

Flutter Android iOS

A Flutter plugin for using the Firebase Auth UI with Dart in Flutter apps.

flutter_auth_ui #

A Flutter plugin for using the Firebase Auth UI with Dart in Flutter apps. (not official plugin.)

Getting Started #

This plugin is wrapped Android/iOS's native plugin.

Check documents and setup your firebase project.

How to use #

// Set provider
final providers = [
  AuthUiItem.AuthEmail,
  AuthUiItem.AuthApple,
  AuthUiItem.AuthGithub,
  AuthUiItem.AuthGoogle,
  AuthUiItem.AuthMicrosoft,
  AuthUiItem.AuthYahoo,
];
final tosAndPrivacyPolicy = TosAndPrivacyPolicy(
  tosUrl: Terms of Service URL,
  privacyPolicyUrl: Privacy Policy URL,
);

final result = await FlutterAuthUi.startUi(
  items: providers,
  tosAndPrivacyPolicy: tosAndPrivacyPolicy,
  enableSmartLockForAndroid: (option) true(default)/false,
);

If you want to enable email link authentication on iOS, check AuthUiItem.AuthEmail doc.

10
likes
90
pub points
63%
popularity

A Flutter plugin for using the Firebase Auth UI with Dart in Flutter apps.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

koji.wakamiya@gmail.com

License

MIT (LICENSE)

Dependencies

firebase_auth, flutter, flutter_plugin_android_lifecycle

More

Packages that depend on flutter_auth_ui