Let CupertinoPageScaffold have tap status bar to scroll to top#29946
Let CupertinoPageScaffold have tap status bar to scroll to top#29946xster merged 2 commits intoflutter:masterfrom
Conversation
There was a problem hiding this comment.
Can you add a comment that mentions why the hasClients condition is relevant to handling the tap?
There was a problem hiding this comment.
This doesn't appear to be padded content?
There was a problem hiding this comment.
Moved this addition to the end
There was a problem hiding this comment.
Is this an extra blank line?
There was a problem hiding this comment.
Can you add a comment about what this stacked addition is doing? It can be difficult to understand the steps in assembling a layout in these build functions.
There was a problem hiding this comment.
Is this done to imitate a status bar? If so, it would be great if we could codify that as something more than what looks like incidental padding. Maybe a status bar widget just for testing?
There was a problem hiding this comment.
Added comment for now to avoid an indirection. Makes sense to make a function or something if there were any more status bar tests in the future.
391e639 to
92b3789
Compare
Description
Let CupertinoPageScaffold have a primary scroll controller and a status bar tap handler.
Related Issues
#24777
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?