-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Workaround for Drawer.initState() fails #716
Conversation
As far as Drawer ignoring the |
Workaround for Drawer.initState() fails This is a hack to avoid #715 In theory, the navigator's state should be updated in the event handler that triggers opening the drawer. It's not obvious how to do this, since we only build the Drawer when it's supposed to be visible (and once we're building it's too late).
IMHO we should fix this correctly now, not check in workarounds. Otherwise we're just digging ourselves into technical debt. |
I will make a proposal for a better fix. |
I just tripped over this technical debt. I think it may be implicated in the weird assertions we've been getting. This is why I didn't want us to check in a workaround. |
Use Stdout.terminalColumns for line length Fall back on a 200-character default, which is less likely to obscure test names when printing to a non-terminal destination. Closes flutter#86
Changes since last roll: ``` 059d155 [dart] Add identifier needed for zlib roll (flutter#718) 459d3e5 Bump github/codeql-action from 2.2.11 to 2.2.12 (flutter#716) 91f1ba5 Bump actions/checkout from 3.5.1 to 3.5.2 (#715) 2e5c483 Bump actions/checkout from 3.5.0 to 3.5.1 (flutter#714) a5af13d Remove codeql. (flutter#713) ```
Bump github/codeql-action from 2.2.11 to 2.2.12
This is a hack to avoid #715
In theory, the navigator's state should be updated in the event handler that triggers opening the drawer. It's not obvious how to do this, since we only build the Drawer when it's supposed to be visible (and once we're building it's too late). Perhaps responsibility needs to be borne by the StockHome class?