Skip to content

Conversation

@Hixie
Copy link
Contributor

@Hixie Hixie commented Nov 28, 2018

  • Introduces ClipPath.shape for easy specification of a ClipPath that uses a ShapeBorder.
  • Fixes a bug in Material where it wasn't properly passing through the TextDirection to the shape when it was a transparency material.
  • Fixes a bug in ShapeBorderClipper whereby it didn't update when the text direction changed.

@Hixie
Copy link
Contributor Author

Hixie commented Nov 28, 2018

cc @amirh since you last worked on ShapeBorderClipper and Material.

@matthew-carroll I'm curious what you think of the tests here. They seem kind of messy to me but it was precisely the mess that led me to find the subtle bug in ShapeBorderClipper.

@zoechi zoechi added framework flutter/packages/flutter repository. See also f: labels. f: material design flutter/packages/flutter/material repository. labels Nov 28, 2018
@Hixie Hixie changed the title ClipPath.shape and related fixes [H] ClipPath.shape and related fixes Nov 28, 2018
Copy link
Contributor

@jacob314 jacob314 left a comment

Choose a reason for hiding this comment

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

lgtm

@Hixie
Copy link
Contributor Author

Hixie commented Dec 23, 2018

Thanks!

@Hixie Hixie merged commit e239872 into flutter:master Dec 23, 2018
@Hixie Hixie deleted the clipping branch December 23, 2018 23:21
kangwang1988 added a commit to XianyuTech/flutter that referenced this pull request Dec 26, 2018
* flt_master: (143 commits)
  Roll engine 215ca15..d8c5ec0 (12 commits) (flutter#25728)
  Provide some more locations for the FAB. (flutter#24736)
  Undeprecated BigInteger support, but document what it actually does. (flutter#24511)
  ClipPath.shape and related fixes (flutter#24816)
  Handle errors in `compute()` by propagating them to the Future. (flutter#24848)
  Fix merge conflict. (flutter#25718)
  Some minor tweaks to InputDecoration (mainly docs). (flutter#24643)
  Expose font fallback API in TextStyle, Roll engine 54a3577..215ca15 (8 commits) (flutter#25585)
  Updated Shrine demo (flutter#25674)
  Pin the goldens repo to a specific commit in the android_views test. (flutter#25678)
  Friendlier flags for Dart compilation training. (flutter#25645)
  Revert dependency upgrade to see if it helps with build times and APK size (flutter#25642)
  Depend on the goldens repo through git. (flutter#25479)
  no period after an alone link in see also section (flutter#25604)
  Update links for China help (flutter#25238)
  Roll engine 6a90418..54a3577 (23 commits) (flutter#25649)
  Roll engine e859296..6a90418 (4 commits) (flutter#25643)
  Adding support for android app bundle - Issue flutter#17829 (flutter#24440)
  Revert "[O] Remove many timeouts. (flutter#23531)" (flutter#25646)
  [O] Remove many timeouts. (flutter#23531)
  ...
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants