GithubHelp home page GithubHelp logo

alperefesahin / cubit_login Goto Github PK

View Code? Open in Web Editor NEW
59.0 2.0 13.0 172 KB

Login App created with Bloc/Cubit

License: MIT License

Kotlin 0.18% Swift 0.57% Objective-C 0.05% Dart 93.81% HTML 5.40%
flutter bloc cubit auth login freezed firebase firebase-auth flutter-examples firebase-database social-login

cubit_login's Introduction

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

sign_up login google reset

link link2 link3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.