https://github.com/FlutterWiz/cubit_login
Login App created with Bloc/Cubit
https://github.com/FlutterWiz/cubit_login
auth bloc cubit firebase firebase-auth firebase-database flutter flutter-examples freezed login social-login
Last synced: 10 months ago
JSON representation
Login App created with Bloc/Cubit
- Host: GitHub
- URL: https://github.com/FlutterWiz/cubit_login
- Owner: FlutterWiz
- License: mit
- Created: 2021-10-13T17:26:36.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-01T17:13:20.000Z (almost 4 years ago)
- Last Synced: 2025-04-29T04:13:55.848Z (10 months ago)
- Topics: auth, bloc, cubit, firebase, firebase-auth, firebase-database, flutter, flutter-examples, freezed, login, social-login
- Language: Dart
- Homepage:
- Size: 168 KB
- Stars: 62
- Watchers: 2
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cubit_login
A Flutter project which is created by Cubit/BLoC and Firebase.
The differ from the other bloc login projects, this project has social login instances and sign up properties, and while It does this, It uses freezed package which is very helpful for the state management. Also there are snackbars for the error handling, and login processes. For instance If you try to sign up with existing account, snackbar will give an error.
Additionally, thanks to flow_builder package, we can check via state, is user signed in or not, and with this, we can route the user. If you have already logged in, home page will start, but if you are not, then you will start sign in page.
Here you can reach the medium article of the project:
Part1: https://medium.com/@sahinefe/bloc-pattern-for-login-bloc-login-in-flutter-551fd05beb99
Part2: https://medium.com/@sahinefe/cubit-freezed-combination-to-manage-the-state-powerfully-in-flutter-2022-version-e64339e7c641
## Updates
-->Cubits re-created with Freezed package.
-->Exceptions, and snackbars have added.
-->Re-password feature has added.
-->CPU improvements (now, faster than before!)
## Packages
*flutter_bloc
*freezed_annotation
*flow_builder
*formz
*firebase_core
*firebase_auth
*cloud_firestore
## Mini Notes
If you want to use Apple sign in and Twitter sign in methods, you need to configure them from firestore. Twitter and Apple must give developer permits to you.
## Gifs and Screenshots from the app






