-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
courses/flutter-firebase/auth-stream/ #829
Comments
Snippet code does not match what is shown in the video. import 'package:quizapp/shared/shared.dart'; < Not found Am I missing something here? |
Hi @eikowagenknecht, you are right. The code snippet considers the LoadingScreen and the ErrorMessage being both Custom Widgets. For an actual app, that's what you will probably do it, but in the video lesson the instructor is just using Text Widgets in place of those. Try creating 2 Custom Stateless Widgets, name them LoadingScreen and ErrorMessage and make them both return a simple Text Widget with according text. Then your Code Editor will probably suggest to import the respective files you created the Custom Widgets. |
If you are running into the error that says
|
And also delete the '/' route from the appRoutes object |
When trying to Error: Required named parameter 'auth' must be provided. FAILURE: Build failed with an exception. |
Does Anybody get this error? The following FirebaseException was thrown building HomeScreen(dirty): |
Auth Stream
Listen to the current Firebase user
https://fireship.io/courses/firestore-data-modeling/basics-read-documents/
The text was updated successfully, but these errors were encountered: