1. 12 Jun, 2023 1 commit
  2. 09 Jun, 2023 1 commit
  3. 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
  4. 09 Mar, 2023 1 commit
  5. 06 Mar, 2023 2 commits
  6. 02 Feb, 2023 1 commit
  7. 21 Dec, 2022 1 commit
  8. 24 Oct, 2022 1 commit
  9. 22 Aug, 2022 1 commit
  10. 23 Jun, 2022 1 commit
  11. 20 May, 2022 1 commit
  12. 27 Apr, 2022 1 commit
  13. 26 Apr, 2022 1 commit
  14. 07 Apr, 2022 1 commit
  15. 31 Mar, 2022 1 commit
  16. 03 Feb, 2022 1 commit
  17. 21 Jan, 2022 1 commit
  18. 19 Nov, 2021 1 commit
  19. 08 Oct, 2021 3 commits
  20. 30 Aug, 2021 1 commit
  21. 15 Jul, 2021 1 commit
  22. 14 Jul, 2021 3 commits
  23. 13 Jul, 2021 2 commits
  24. 30 Jun, 2021 1 commit
  25. 12 May, 2021 1 commit
  26. 11 May, 2021 1 commit
  27. 28 Apr, 2021 1 commit
  28. 05 Feb, 2021 1 commit
  29. 27 Jan, 2021 1 commit
  30. 14 Jan, 2021 1 commit
  31. 02 Dec, 2020 1 commit
  32. 09 Oct, 2020 1 commit
  33. 16 Sep, 2020 1 commit
  34. 31 Aug, 2020 1 commit
    • Chris Bracken's avatar
      Prefer moreOrLessEquals over closeTo (#64915) · c0ea00ed
      Chris Bracken authored
      Flutter's `moreOrLessEquals` has a few advantages over `closeTo` from
      the `matcher` package:
      
         * It emits the epsilon value in the test result on failure.
         * It uses a named parameter for epsilon, which improves readability
           at the call site.
         * It has a reasonable default for epsilon in cases where something
           more specific isn't required.
      
      Using it also has the nice property that it aids in its own discovery
      when when people go looking for such functionality in new tests.
      
      This change also includes a couple unrelated whitespace formatting cleanups.
      c0ea00ed