1. 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
  2. 20 Apr, 2023 1 commit
  3. 11 Apr, 2023 1 commit
  4. 30 Mar, 2023 1 commit
  5. 22 Mar, 2023 1 commit
  6. 14 Mar, 2023 1 commit
  7. 13 Mar, 2023 1 commit
  8. 06 Mar, 2023 1 commit
    • Eilidh Southren's avatar
      Bottom appbar/sheet shadow property (#121406) · d696b051
      Eilidh Southren authored
      * add shadowColor property
      
      * add to bottom app bar
      
      * add test
      
      * update m2/m3 diffs
      
      * reorder debug test
      
      * finalize
      
      * remove crswap
      
      * update doc comments
      
      * add m2 shadow back
      
      * add const
      
      * update docs
      
      * update docs
      
      * comment replies
      
      * make param non-null
      
      * indentation fix
      
      * doc fix
      d696b051
  9. 11 Feb, 2023 1 commit
  10. 08 Feb, 2023 1 commit
  11. 07 Feb, 2023 1 commit
  12. 24 Jan, 2023 1 commit
  13. 17 Jan, 2023 1 commit
  14. 03 Jan, 2023 1 commit
  15. 16 Dec, 2022 1 commit
  16. 28 Nov, 2022 1 commit
  17. 15 Nov, 2022 2 commits
  18. 02 Nov, 2022 1 commit
  19. 01 Nov, 2022 2 commits
  20. 25 May, 2022 1 commit
  21. 24 May, 2022 1 commit
  22. 14 Apr, 2022 1 commit
  23. 04 Oct, 2021 1 commit
    • Greg Spencer's avatar
      Clean up examples, remove section markers and --template args (#91133) · fd9ce277
      Greg Spencer authored
      This does a cleanup of the examples, removing all of the "section" markers and extra comments that we don't need anymore now that the samples are no longer in the source code. It also removes the --template arguments from the {@tool dartpad} and {@tool sample} directives, since those are no longer used. It converts two examples that I discovered were still embedded into linked examples in the examples folder.
      
      I didn't delete the templates from the snippets config folder yet, because there are still embedded samples in the dart:ui package from the engine that use them. Once dart:ui no longer uses the templates, they can be removed.
      
      I bumped the version of the snippets package to pick up a change that allows removal of the --template argument.
      fd9ce277
  24. 28 Sep, 2021 1 commit
  25. 25 Aug, 2021 1 commit
    • Greg Spencer's avatar
      Extract Sample code into examples/api (#87280) · 33403bd2
      Greg Spencer authored
      This extracts the sample code out from the API doc comments, and places them in separate files on disk, allowing running of the examples locally, testing them, and building of slightly larger examples.
      33403bd2
  26. 14 May, 2021 1 commit
  27. 27 Apr, 2021 1 commit
  28. 12 Mar, 2021 1 commit
  29. 27 Jan, 2021 1 commit
  30. 08 Jan, 2021 1 commit
  31. 15 Dec, 2020 1 commit
  32. 11 Dec, 2020 1 commit
  33. 02 Nov, 2020 2 commits
  34. 05 Oct, 2020 1 commit
  35. 03 Oct, 2020 1 commit
  36. 02 Oct, 2020 1 commit
  37. 29 Jul, 2020 1 commit