Skip to content

fix Container.clipBehaviour, clips the shadow in decoration#64362

Merged
fluttergithubbot merged 7 commits into
flutter:masterfrom
sahandevs:fix-contauiner-clip-mode-shadow-bug
Sep 3, 2020
Merged

fix Container.clipBehaviour, clips the shadow in decoration#64362
fluttergithubbot merged 7 commits into
flutter:masterfrom
sahandevs:fix-contauiner-clip-mode-shadow-bug

Conversation

@sahandevs

Copy link
Copy Markdown
Contributor

Description

fix Container.clipBehaviour, clips the shadow in BoxDecoration if provided.
fixed by changing the clip order

Related Issues

Tests

I added the following tests:

Checklist

  • 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 read the Tree Hygiene wiki page, which explains my responsibilities.
  • 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

Did any tests fail when you ran them? Please read Handling breaking changes.

@flutter-dashboard flutter-dashboard Bot added the framework flutter/packages/flutter repository. See also f: labels. label Aug 21, 2020
@flutter-dashboard

Copy link
Copy Markdown

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@goderbauer

Copy link
Copy Markdown
Member

This PR is missing a test. Can you please add one to show what this is fixing and to ensure that we never break it again? Thanks.

@sahandevs

Copy link
Copy Markdown
Contributor Author

@goderbauer I added a golden test. here is the snapshot:

widgets container clipBehaviour with shadow

@Piinks I don't have access to the Flutter Gold dashboard. not sure how to submit this snapshot.

@Piinks

Piinks commented Sep 1, 2020

Copy link
Copy Markdown
Contributor

Hey @sahandevs I can help you check in the images. Can you update this to fix the analyzer?

@skia-gold

Copy link
Copy Markdown

Gold has detected about 1 untriaged digest(s) on patchset 5.
View them at https://flutter-gold.skia.org/cl/github/64362

@skia-gold

Copy link
Copy Markdown

Gold has detected about 1 untriaged digest(s) on patchset 6.
View them at https://flutter-gold.skia.org/cl/github/64362

@flutter-dashboard

Copy link
Copy Markdown

Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change).

If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review.

For more guidance, visit Writing a golden file test for package:flutter.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

Changes reported for pull request #64362 at sha 806fa01

@flutter-dashboard flutter-dashboard Bot added the will affect goldens Changes to golden files label Sep 2, 2020
@Piinks Piinks added the a: quality A truly polished experience label Sep 2, 2020
Comment thread packages/flutter/test/widgets/container_test.dart Outdated
Co-authored-by: Kate Lovett <katelovett@google.com>
@skia-gold

Copy link
Copy Markdown

Gold has detected about 1 untriaged digest(s) on patchset 7.
View them at https://flutter-gold.skia.org/cl/github/64362

@flutter-dashboard

Copy link
Copy Markdown

Golden file changes are available for triage from new commit, Click here to view.

Changes reported for pull request #64362 at sha 6774bdc

@Piinks Piinks left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! Thank you for the contribution!

@fluttergithubbot fluttergithubbot merged commit 33c619c into flutter:master Sep 3, 2020
mingwandroid pushed a commit to mingwandroid/flutter that referenced this pull request Sep 6, 2020
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

a: quality A truly polished experience framework flutter/packages/flutter repository. See also f: labels. will affect goldens Changes to golden files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants