1. 22 Jun, 2023 1 commit
  2. 14 Jun, 2023 1 commit
    • cruiser-baxter's avatar
      Fixed slider value indicator not disappearing after a bit on desktop platform... · 52c4db8d
      cruiser-baxter authored
      Fixed slider value indicator not disappearing after a bit on desktop platform when slider is clicked not dragged (#128137)
      
      In slider.dart within the _startInteraction method and within the below conditional.
      
      "if (!_active && !hasFocus &&
      _state.valueIndicatorController.status == AnimationStatus.completed)"
      
      **Changed to:**
      
      "f (!_active &&
      _state.valueIndicatorController.status == AnimationStatus.completed)"
      This allows the value indicator to disappear after a bit when clicked instead of dragged on Desktop platform. 
      
      I also added a test in slider_test.dart to detect the bug if it ever returns.
      
      Fixes https://github.com/flutter/flutter/issues/123313
      52c4db8d
  3. 09 Jun, 2023 1 commit
    • Pierre-Louis's avatar
      Improve defaults generation with logging, stats, and token validation (#128244) · 66cda591
      Pierre-Louis authored
      ## Description
      
      This improves defaults generation with logging, stats, and token validation. 
      
      This PR includes these changes:
      * introduce `TokenLogger`, with a verbose mode
        * prints versions and tokens usage to the console
        * outputs `generated/used_tokens.csv`, a list of all used tokens, for use by Google
      * find token files in `data` automatically
      * hide tokens `Map`
        * tokens can be obtained using existing resolvers (e.g. `color`, `shape`), or directly through `getToken`.
        * tokens can be checked for existence with `tokenAvailable`
      * remove version from template, since the tokens are aggregated and multiple versions are possible (as is the case currently), it does not make sense to attribute a single version
      * improve documentation
      
      ## Related Issues
       - Fixes https://github.com/flutter/flutter/issues/122602
      
      ## Tests
       - Added tests for `TokenLogger`
       - Regenerated tokens, no-op except version removal
      
      ## Future work
      A future PR should replace or remove the following invalid tokens usages
      
      <img width="578" alt="image" src="https://github.com/flutter/flutter/assets/6655696/b6f9e5a7-523f-4f72-94f9-1b0bf4cc9f00">
      66cda591
  4. 24 May, 2023 1 commit
  5. 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
  6. 01 May, 2023 1 commit
  7. 22 Mar, 2023 1 commit
  8. 14 Mar, 2023 1 commit
  9. 13 Mar, 2023 1 commit
  10. 13 Feb, 2023 1 commit
  11. 07 Feb, 2023 1 commit
  12. 25 Jan, 2023 1 commit
  13. 24 Jan, 2023 1 commit
  14. 19 Jan, 2023 1 commit
  15. 17 Jan, 2023 1 commit
  16. 03 Jan, 2023 1 commit
  17. 09 Dec, 2022 1 commit
  18. 01 Dec, 2022 1 commit
  19. 30 Nov, 2022 2 commits
  20. 28 Nov, 2022 1 commit
  21. 17 Nov, 2022 1 commit
  22. 15 Nov, 2022 1 commit
  23. 02 Nov, 2022 1 commit
  24. 25 Oct, 2022 1 commit
  25. 06 Oct, 2022 1 commit
  26. 06 Sep, 2022 1 commit
  27. 02 Sep, 2022 1 commit
  28. 28 Aug, 2022 1 commit
  29. 22 Aug, 2022 1 commit
  30. 02 Aug, 2022 1 commit
  31. 28 Jul, 2022 1 commit
  32. 25 May, 2022 2 commits
  33. 18 May, 2022 1 commit
  34. 12 May, 2022 1 commit
  35. 07 May, 2022 1 commit
  36. 27 Apr, 2022 1 commit
  37. 26 Apr, 2022 1 commit
  38. 14 Apr, 2022 1 commit