Flutter Auth UI
Flutter Auth UI is a Flutter package containing pre-built widgets for authenticating users. It is unstyled and can match your brand and aesthetic.
Add Flutter Auth UI#
Add the latest version of the package supabase-auth-ui to pubspec.yaml:
Initialize the Flutter Auth Package#
Email Auth#
Use a SupaEmailAuth widget to create an email and password signin and signup form. It also contains a button to toggle to display a forgot password form.
You can pass metadataFields to add additional fields to the form to pass as metadata to Supabase.
Magic Link Auth#
Use SupaMagicAuth widget to create a magic link signIn form.
Reset password#
Use SupaResetPassword to create a password reset form.
Phone Auth#
Use SupaPhoneAuth to create a phone authentication form.
Social Auth#
The package supports login with official social providers.
Use SupaSocialsAuth to create list of social login buttons.
Theming#
This package uses plain Flutter components allowing you to control the appearance of the components using your own theme.