-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Add clipBehavior to ListView, GridView, PageView #63147
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is ShrinkWrappingViewport need clipBehavior?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ShrinkWrappingViewport seems to already have clipBehavior:
| final Clip clipBehavior; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean line 314. This function has two return branches, :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes, nice catch! Fixed now.
|
I searched for the usage of |
|
Looks like the analyzer is not happy about this. |
Yes, I should add it to them. Created #63246 to track the progress. I'll do it in another PR. |
goderbauer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
These widgets are missing from flutter#59364 With this change, developers can use clipBehavior for flutter#59424
1916d21 to
5fccb42
Compare
|
This pull request is not suitable for automatic merging in its current state.
|
These widgets are missing from flutter#59364 With this change, developers can use clipBehavior for flutter#59424
These widgets are missing from
#59364
With this change, developers can use clipBehavior for
#59424