Changed folder structure to better categorize files and renamed some files / class names to match each other
Fixed the AppUser stream in MultiProvider in main.dart in order to stream the user's data from Firestore based on the auth user
Boy scout rule'd some files ~ most notably I made FirestoreService and AuthService to have only static methods (we were instancing these classes when we needed to use their methods, it didn't really make sense)
Updated Wrapper to map to LoadingAnimation if the AppUser Provider hasn't received data yet
Notes
I think the way I did change # 4 is kind of bad let me know if you don't get what I did or have a better idea of how to do it. Also you can verify that the AppUser stream is working by looking in ProfilePage, it loads the first name of the user which is one of the fields that is only stored in Firestore, not in Firebase Auth
Changes
AppUser
stream inMultiProvider
in main.dart in order to stream the user's data from Firestore based on the auth userFirestoreService
andAuthService
to have only static methods (we were instancing these classes when we needed to use their methods, it didn't really make sense)Notes
I think the way I did change # 4 is kind of bad let me know if you don't get what I did or have a better idea of how to do it. Also you can verify that the AppUser stream is working by looking in ProfilePage, it loads the first name of the user which is one of the fields that is only stored in Firestore, not in Firebase Auth