Member-only story
Flutter Web template — with Firebase Auth, Provider and null-safety
How to setup Flutter Web with Firebase authentication, Provider/ChangeNotifier and PathUrl strategy.
This is a lightweight template for Flutter Web application, containing a Home page, and a Admin page. This template has standard web navigation (without #), and uses Google Authentication method from Firebase for sining the user in. When successfully signed in, the Provider/ChangeNotifier will emit a state change and navigate to Admin page. This web app supports jumping to specific urls.
This template is meant as a Starter Kit for you to improve and expand upon, maybe you want to use Bloc/Cubit instead of Provider. 🤷♀️
Features
- FlutterFire, Google Auth
- Null-safety
- Provider/ChangeNotifier
- PathUrl strategy
Please read the README.md file in the GitHub repo for instructions.
Repo:
If you found this handy, feel free to send me some love 🖖