1. 12 Sep, 2018 1 commit
  2. 02 Aug, 2018 1 commit
  3. 27 Jul, 2018 1 commit
  4. 23 Jul, 2018 1 commit
  5. 16 Jul, 2018 2 commits
  6. 19 Apr, 2018 2 commits
    • Greg Spencer's avatar
      Updating the Chip demo in the Gallery to include all the new types of chips. (#16522) · b83eb465
      Greg Spencer authored
      This chip demo is more interactive than the last one, trying to exercise all of the types of chips for a demo that lets you select different types of "chips" (like tortilla, wood, micro, etc.), and then filter them and select an action on them.
      b83eb465
    • Greg Spencer's avatar
      Change CircleAvatar to use BoxFit.cover for images (#16649) · 0b389fc9
      Greg Spencer authored
      This is a PR giving some love to the abandoned PR #16263 by @harrisonturton
      
      I've added a test, and formatted it to be readable.
      
      Currently the CircleAvatar does not set a fit property on the DecorationImage it uses to paint images. This causes non-square images to not fully cover the circle, which looks pretty bad. This PR sets it to BoxFix.cover.
      
      Fixes #13478.
      0b389fc9
  7. 22 Mar, 2018 1 commit
    • Greg Spencer's avatar
      Creating chips custom renderer, updating visual look. (#15596) · 4141946c
      Greg Spencer authored
      This updates the visual look of the Chip class, so that it scales properly in the face of text scale (and label widget size) changes, and bases its height off of the label widget's height, constraining the other widgets it contains to be the same height.
      
      To do this properly, I had to implement a custom render object that will measure the height of the label, so the guts of this class are basically rewritten.
      
      In addition, to allow the circle avatar to increase in size when the chip does, I added minRadius and maxRadius arguments to it, and I updated its color handling to use the light/dark primary colors of the theme in a smart way instead of just using black and white.
      
      Updated and added tests.
      4141946c
  8. 19 Oct, 2017 1 commit
  9. 12 Oct, 2017 1 commit
  10. 29 Sep, 2017 1 commit
  11. 07 Sep, 2017 1 commit
  12. 27 Apr, 2017 1 commit
  13. 21 Apr, 2017 1 commit
  14. 07 Apr, 2017 1 commit
  15. 22 Mar, 2017 1 commit
  16. 04 Mar, 2017 1 commit
  17. 20 Jul, 2016 1 commit
    • Dragos Tiselice's avatar
      Added backgroundImage to CircleAvatar. · 83f37246
      Dragos Tiselice authored
      In order to have an efficient way to display clipped avatars,
      backgroundImage was added inside of the container's BoxDecoration.
      Fixes #4964. This commit also fixes #4567 where the radius property
      actually sets the diamater.
      83f37246