Skip to content

Conversation

@liyuqian
Copy link
Contributor

@liyuqian liyuqian commented Aug 7, 2020

These widgets are missing from
#59364

With this change, developers can use clipBehavior for
#59424

@liyuqian liyuqian requested a review from goderbauer August 7, 2020 00:03
@flutter-dashboard flutter-dashboard bot added the framework flutter/packages/flutter repository. See also f: labels. label Aug 7, 2020
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is ShrinkWrappingViewport need clipBehavior?

Copy link
Contributor Author

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:

Copy link
Member

@xu-baolin xu-baolin Aug 8, 2020

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, :)

Copy link
Contributor Author

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.

@xu-baolin
Copy link
Member

I searched for the usage of pushClipRect globally, I am not sure are those widgets OverLay AnimatedSize AndroidView need too.

@goderbauer
Copy link
Member

Looks like the analyzer is not happy about this.

@liyuqian
Copy link
Contributor Author

liyuqian commented Aug 7, 2020

I searched for the usage of pushClipRect globally, I am not sure are those widgets OverLay AnimatedSize AndroidView need too.

Yes, I should add it to them. Created #63246 to track the progress. I'll do it in another PR.

@Piinks Piinks added the f: scrolling Viewports, list views, slivers, etc. label Aug 10, 2020
Copy link
Member

@goderbauer goderbauer left a 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
@fluttergithubbot
Copy link
Contributor

This pull request is not suitable for automatic merging in its current state.

  • The status or check suite Linux hostonly_devicelab_tests has failed. Please fix the issues identified (or deflake) before re-applying this label.
  • The status or check suite Linux tool_tests has failed. Please fix the issues identified (or deflake) before re-applying this label.
  • The status or check suite Linux web_tests has failed. Please fix the issues identified (or deflake) before re-applying this label.

@liyuqian liyuqian merged commit 3ff76f4 into flutter:master Aug 13, 2020
@liyuqian liyuqian deleted the more_clip_viewport branch August 14, 2020 22:18
mingwandroid pushed a commit to mingwandroid/flutter that referenced this pull request Sep 6, 2020
These widgets are missing from
flutter#59364

With this change, developers can use clipBehavior for
flutter#59424
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

f: scrolling Viewports, list views, slivers, etc. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants