-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Add clip behaviour to Container #44971
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
Add clip behaviour to Container #44971
Conversation
|
@goderbauer I added getClipPath to Decoration and it works with BoxDecoration and ShapeDecoration |
Piinks
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.
Hi @sahandevs, Thanks for sticking with this! 🙂
|
@Piinks I've fixed the issues you've mentioned but I don't know why flutter-build is failing |
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.
Thanks for the work on this!
The new methods added to BoxDecoration and ShapeDecoration also require tests.
|
added Tests and fixed formatting/comments |
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 after comments are resolved.
|
(assuming that all tests pass) |
|
@goderbauer It should be ok now but I don't know why framework_tests-misc-windows is failing |
|
Hi @sahandevs I would recommend updating your branch with changes from master to see if that resolves the test failure. |
|
Fab! It looks like we can land this once the tree is green. 🎉 |
Description
resolves #14421
moved #43564 here because of the mess
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?