1. 03 Sep, 2019 1 commit
    • Greg Spencer's avatar
      Make disabled buttons/chips/text fields not be focusable. (#38726) · 8daa165d
      Greg Spencer authored
      This changes the behavior of text fields, Material buttons, and Chips so that if they are disabled they lose focus. Before this change, it was possible to disable a control and then use focus traversal to reach it anyhow, and in the case of text fields, enter text into a disabled field.
      
      Fixes #33985
      8daa165d
  2. 13 Aug, 2019 1 commit
  3. 03 Aug, 2019 1 commit
  4. 13 Jun, 2019 1 commit
  5. 01 May, 2019 1 commit
  6. 09 Mar, 2019 1 commit
  7. 07 Mar, 2019 1 commit
  8. 01 Mar, 2019 2 commits
  9. 22 Feb, 2019 1 commit
  10. 21 Feb, 2019 1 commit
  11. 01 Feb, 2019 2 commits
  12. 08 Jan, 2019 1 commit
  13. 16 Oct, 2018 1 commit
  14. 11 Oct, 2018 1 commit
  15. 03 Oct, 2018 1 commit
  16. 28 Sep, 2018 1 commit
  17. 25 Sep, 2018 3 commits
  18. 12 Sep, 2018 1 commit
  19. 31 Aug, 2018 1 commit
  20. 02 Aug, 2018 1 commit
  21. 27 Jul, 2018 1 commit
  22. 23 Jul, 2018 1 commit
  23. 16 Jul, 2018 2 commits
  24. 09 Jul, 2018 1 commit
  25. 03 Jul, 2018 2 commits
  26. 05 Jun, 2018 1 commit
  27. 31 May, 2018 1 commit
  28. 18 May, 2018 1 commit
    • Greg Spencer's avatar
      Speed up AnimatedSwitcher. (#17265) · 1f5fcb74
      Greg Spencer authored
      This optimizes the AnimatedSwitcher so that it tags the right widget with its keyed subtree, and avoids rebuilding the transition unnecessarily.
      
      This significantly improves the performance of Chips (which uses AnimatedSwitcher to swap out it's avatar and delete icon children).
      1f5fcb74
  29. 12 Apr, 2018 1 commit
    • Greg Spencer's avatar
      Adding ChipTheme, ChipThemeData, and some more tests. (#16447) · 4dbbf678
      Greg Spencer authored
      This converts the chips to use a ChipThemeData to get most of their customization values from (if not overridden by specific arguments to the chip constructors), and to have the base ThemeData contain one of these. It also adds the ChipTheme widget that will allow overriding the theme for a particular subtree in the widget hierarchy.
      
      Added tests for both, and just more tests in general for the Chips.
      4dbbf678
  30. 10 Apr, 2018 1 commit
  31. 05 Apr, 2018 1 commit
  32. 04 Apr, 2018 1 commit
  33. 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
  34. 09 Mar, 2018 1 commit