supabase_auth_ui 0.0.1-dev.2 supabase_auth_ui: ^0.0.1-dev.2 copied to clipboard
UI library to implement auth forms using Supabase and Flutter
flutter-auth-ui #
A simple library of predefined widgets to easily and quickly create a auth compooents using Flutter and Supabase.
⚠️ Developer Preview: This is a developer preview and there maybe some breaking changes until we release v0.0.1.
[supabase/supabase/master/packages/common/assets/images/supabase-logo-wordmark--dark.svg]
Email Auth #
Use a SupaEmailAuth
widget to create an email and password signin/ signup form.
// Create a Signup form
SupaEmailAuth(
authAction: AuthAction.signUp,
redirectUrl: '/home',
),
// Create a Signin form
SupaEmailAuth(
authAction: AuthAction.signIn,
redirectUrl: '/home',
),
Magic Link Auth #
Use SupaMagicAuth
widget to create a magic link signIn form.
SupaMagicAuth()
Reset password #
Use SupaResetPassword
to create a password reset form.
SupaResetPassword(accessToken: session.accessToken)
Social Auth #
Use SupaSocialsAuth
to create list of social login buttons.
SupaSocialsAuth(
socialProviders: [
SocialProviders.apple,
SocialProviders.google,
],
colored: true,
)