You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are numerous tutorials on using firebase auth with flutter. I went through many of these to work through making my own take on a Firebase Auth flutter project that worked the way I needed it to. Definitely check out these projects which provide much more in depth tutorials.
5
5
6
6
[Simple Recipe app made in flutter firebase and google sign in](https://medium.com/flutter-community/simple-recipes-app-made-in-flutter-firebase-and-google-sign-in-14d1535e9a59)
@@ -16,15 +16,15 @@ I setup my project to combine firebase auth with saving my user info to shared p
16
16
17
17
I also use validation for text fields and handle and display error messages via a snackbar style notification [flushbar package)](https://pub.dartlang.org/packages/flushbar). Finally I use global state to keep track of when the data changes.
18
18
19
-
##Overview of files...
19
+
##Overview of files...
20
20
21
21
**main.dart** - this file initializes the app and contains the routing as well as the global state setup and references the custom theme.
22
22
23
-
##/ui/
23
+
##/ui/
24
24
25
25
**theme.dart** - contains some custom theme info.
26
26
27
-
##/ui/screens/
27
+
##/ui/screens/
28
28
29
29
**home.dart** - HomeScreen when the user is logged in, also redirects the user when he is not logged in to the SignInScreen.
30
30
@@ -34,11 +34,11 @@ I also use validation for text fields and handle and display error messages via
34
34
35
35
**forgot_password.dart** - ForgotPasswordScreen lets you send a firebase query to reset your password.
36
36
37
-
##/ui/widgets
37
+
##/ui/widgets
38
38
39
39
**loading.dart** - LoadingScreen - small modification to the excellent package https://pub.dartlang.org/packages/modal_progress_hud to wrap the circular progress indicator.
40
40
41
-
##/util/
41
+
##/util/
42
42
43
43
**auth.dart** - The Auth class which controls authenticating and reading and storing info related to auth.
0 commit comments