1. 15 Dec, 2023 1 commit
  2. 07 Nov, 2023 1 commit
    • Qun Cheng's avatar
      Adaptive `Switch` (#130425) · ed70f4e2
      Qun Cheng authored
      Currently, `Switch.factory` delegates to `CupertinoSwitch` when platform
      is iOS or macOS. This PR is to:
      * have the factory configure the Material `Switch` for the expected look
      and feel.
      * introduce `Adaptation` class to customize themes for the adaptive
      components.
      ed70f4e2
  3. 11 Sep, 2023 1 commit
  4. 30 Aug, 2023 1 commit
  5. 28 Aug, 2023 1 commit
  6. 24 Aug, 2023 1 commit
  7. 14 Aug, 2023 1 commit
  8. 09 Aug, 2023 1 commit
  9. 08 Aug, 2023 1 commit
  10. 07 Aug, 2023 1 commit
  11. 22 Jul, 2023 1 commit
  12. 30 Jun, 2023 1 commit
  13. 13 Jun, 2023 1 commit
  14. 25 May, 2023 1 commit
  15. 17 May, 2023 1 commit
  16. 12 May, 2023 1 commit
  17. 11 May, 2023 1 commit
    • Qun Cheng's avatar
      Reorder `materialStateProperty` defaults (#125905) · 4e7e4512
      Qun Cheng authored
      Fixes #122250. This PR is to make sure all the MaterialStateProperty defaults are able to correctly resolve different states. 
      * When a widget is pressed, it is also hovered, so we need to put the `MaterialState.pressed` check before `MaterialState.hovered`. 
      * When a widget is focused, the widget should still be able to be hovered, so we should check `MaterialState.hovered` before `MaterialState.focused`.
      * There are also cases like in _InputDecoratorDefaultsM3, the `MaterialState.disabled` should be checked before `MaterialState.error`.
      
       the order should be disabled, (error), pressed, hovered, focused.
      4e7e4512
  18. 05 May, 2023 1 commit
  19. 08 Feb, 2023 1 commit
  20. 21 Dec, 2022 1 commit
  21. 14 Nov, 2022 1 commit
  22. 12 Oct, 2022 1 commit
  23. 09 Sep, 2022 1 commit
  24. 02 Sep, 2022 1 commit
  25. 02 Aug, 2022 1 commit
  26. 28 Jul, 2022 1 commit
  27. 20 May, 2022 1 commit
  28. 19 May, 2022 1 commit
  29. 03 Feb, 2022 1 commit
  30. 04 Dec, 2021 1 commit
  31. 08 Oct, 2021 3 commits
  32. 30 Aug, 2021 1 commit
  33. 15 Jul, 2021 1 commit
  34. 14 Jul, 2021 3 commits
  35. 13 Jul, 2021 2 commits