-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
headerBuilder - please add a note that this widget is only shown on narrow screens. #10691
Comments
A very valid point, @newskylabs. However, can you open this issue against the Firebase docs? That's a different team, a different set of docs, and a different process. thx |
@sfshaza2 I'll reopen this as the codelab links to here for "Report a mistake" and it's maintained by Eric, covering Flutter too. |
@parlough, Eric no longer supports Firebase. |
Thank you, @sfshaza2 and @parlough :) As you said, I just followed the "Report a mistake" link and added the issue. Maybe the link should be redirected as well? @sfshaza2: ... can you open this issue against the Firebase docs? That's a different team, a different set of docs, and a different process. thx I reposted the issue on the Firebase docs issue tracker: headerBuilder - please add a note that this widget is only shown on narrow screens. 29: @parlough: Eric no longer supports Firebase. I also asked to correct the "Report a mistake" link: The "Report a mistake" link points to the flutter website issues tracker - but should point to firebase-docs issue tracer 30: Thanks for your comments, |
Thanks newskylabs for the issue and reposting it! Sorry about the back and forth :) @domesticmouse @ericwindmill Can you clarify the status of this codelab? Is it still maintained? If so, should we manage issues on this repository or not? It currently links to this issue tracker. |
@ericwindmill can you confirm status? I'd suggest deleting if unmaintained. @parlough and @sfshaza2 this is a firebase codelab, I don't have access to it. |
I can fix this. As much as I love deleting things, this is still a popular codelab :) |
Fixed by CL #640158830 |
Page URL
https://firebase.google.com/codelabs/firebase-auth-in-flutter-apps#4
Page source
No response
Describe the problem
Hi,
When testing on a wide screen the headerBuilder widget is not displayed. Therefore the reader very probably will spend some time to debug the code in order to find the "bug" - which will be in vain as it is not a bug at all: the headerBuilder widget is only shown on narrow screens...
The sideBuilder widget has the opposite behaviour: it is only shown on wide screens. However, in the 'Side Builder' paragraph the following can be read: "The widget that sideBuilder returns will be displayed to the left of the sign in form, and only on wide screens." So the reader will expect to not see the widget on small screens.
A similar not in the "headerBuilder" paragraph would be very helpful.
Expected fix
Change the text: "Using the SignInScreen.headerBuilder argument, you can add whatever widgets you want above the sign-in form."
to something like: "Using the SignInScreen.headerBuilder argument, you can add whatever widgets you want above the sign-in form. It will be shown, however, only on narrow screens. On wide screens you can use a sideBuilder widget (see later on this page) which will be displayed only on wide screens to the left of the sign in form."
Additional context
No response
I would like to fix this problem.
The text was updated successfully, but these errors were encountered: