Skip to content

Conversation

@sahandevs
Copy link
Contributor

@sahandevs sahandevs commented Nov 15, 2019

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.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require Flutter developers to manually update their apps to accommodate your change?

  • Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
  • No, this is not a breaking change.

@fluttergithubbot fluttergithubbot added the framework flutter/packages/flutter repository. See also f: labels. label Nov 15, 2019
@sahandevs sahandevs mentioned this pull request Nov 15, 2019
9 tasks
@sahandevs
Copy link
Contributor Author

@goderbauer I added getClipPath to Decoration and it works with BoxDecoration and ShapeDecoration

Copy link
Contributor

@Piinks Piinks left a 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! 🙂

@sahandevs
Copy link
Contributor Author

@Piinks I've fixed the issues you've mentioned but I don't know why flutter-build is failing

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.

Thanks for the work on this!

The new methods added to BoxDecoration and ShapeDecoration also require tests.

@sahandevs
Copy link
Contributor Author

added Tests and fixed formatting/comments

@sahandevs sahandevs requested a review from goderbauer November 27, 2019 06:23
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 after comments are resolved.

@goderbauer
Copy link
Member

(assuming that all tests pass)

@sahandevs
Copy link
Contributor Author

@goderbauer It should be ok now but I don't know why framework_tests-misc-windows is failing

@Piinks
Copy link
Contributor

Piinks commented Dec 2, 2019

Hi @sahandevs I would recommend updating your branch with changes from master to see if that resolves the test failure.

@Piinks
Copy link
Contributor

Piinks commented Dec 3, 2019

Fab! It looks like we can land this once the tree is green. 🎉

@fluttergithubbot fluttergithubbot merged commit f68cdac into flutter:master Dec 3, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Container.clipBehavior to clip to the decoration

6 participants