Firebase-authentication
This project is an example of Firebase authentication in a flutter. This project shows how to implement a full authentication flow in Flutter, using sign Up with email and password, sign in with email and password, and reset password.
It aims to be a reference implementation. Think of it as "authentication done right".
Project goals
This project shows how to:
- Sign up with an email and password.
- Sign in with that email and password.
- Reset password.
- use appropriate state management techniques to separate UI, logic, and Firebase authentication code
- handle errors and present user-friendly error messages
- write production-ready code following best practices
Feel free to use this in your own projects.
NOTE: This project will be kept up to date with the latest packages and Flutter version._
Platforms supported
-
β Android -
β web -
β windows
Preview
Sign-in
Sign-Up
Forgot-Password
Home
Features and Plugins used
-
β Null safety -
β Firebase -
β firebase_core: ^1.6.0 -
β firebase_auth: ^3.1.1 -
β provider: ^6.0.0
Authentication features
-
β Email & Password Sign In. -
β Email & Password Sign Up. -
β Reset Password.
Application features
Sign-in Page
-
β Form to enter email and password for signing-in the user. -
β Button to toggle sign-up view. -
β Button to navigate to forgot password page.
Sign-up Page
-
β Form to enter a name, email, and password for signing up the user. -
β Button to toggle sign-in view.
Forgot Password Page
-
β Form to enter email for resetting the password. -
β Button to navigate to the sign-in page.