1. 26 May, 2022 1 commit
  2. 25 May, 2022 1 commit
    • Greg Spencer's avatar
      A bunch of cleanups and a missing `ShortcutRegistar` in `WidgetsApp` (#104560) · 0a417c3b
      Greg Spencer authored
      A bunch of random cleanup things I found while doing MenuBar development.
      
      Changes an if test to an assert in binding.dart, since the if should always be true.
      Adds the default ShortcutRegistrar that should have been in the ShortcutRegistry PR.
      Moves a debug message in the FocusManager to print the result after the focus change instead of before.
      Reorders the test parameters in theme_data_test.dart to match the order of the theme data fields everywhere else.
      0a417c3b
  3. 14 Apr, 2022 1 commit
  4. 13 Apr, 2022 1 commit
    • Callum Moffat's avatar
      Support trackpad gestures in framework (#89944) · 30a50180
      Callum Moffat authored
      * Implement trackpad gestures in framework
      
      * Touch and Pan/Zoom pointers have separate IDs now
      
      * Handle trackpad pointer device type
      
      * Respect supportedDevices for pan/zoom events
      
      * Update after rebase
      
      * Fix check failures
      
      * Avoid error with very short drags
      
      * Address feedback
      
      * Refactor drag event handler
      
      * Address more feedback
      
      * Add some missing punctuation
      30a50180
  5. 12 Apr, 2022 1 commit
  6. 06 Apr, 2022 1 commit
  7. 24 Mar, 2022 1 commit
  8. 03 Feb, 2022 1 commit
  9. 01 Feb, 2022 1 commit
  10. 20 Jan, 2022 1 commit
  11. 10 Jan, 2022 1 commit
  12. 08 Jan, 2022 1 commit
  13. 12 Dec, 2021 1 commit
  14. 07 Dec, 2021 1 commit
  15. 11 Oct, 2021 1 commit
  16. 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
  17. 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
  18. 12 Aug, 2021 1 commit
    • Greg Spencer's avatar
      Switch document generation to use the snippets package (#87231) · 10e4b040
      Greg Spencer authored
      Switch document generation to use the snippets package instead of the snippets code in the Flutter repo. In the process, some bugs in sample code analysis have been fixed, and I've fixed some more errors in the samples.
      
      This will allow the snippets package to be developed separately from the Flutter repo, and reduce the code in the Flutter repo.
      
      The snippets code is deleted in this PR.
      
      I also converted some comments in the snippet templates to be regular comments instead of doc comments, because having a doc comment block before the imports causes the Dart import sorter to lose the comment. They should have been regular comments in the first place.
      
      The snippets package resides in the assets-for-api-docs repo.
      
      The sample analysis has also been converted to be run in parallel, and I've bumped the Dartdoc version to 1.0.2.
      10e4b040
  19. 07 Aug, 2021 1 commit
  20. 04 Aug, 2021 2 commits
  21. 29 Jul, 2021 1 commit
  22. 28 Jul, 2021 1 commit
  23. 26 Jul, 2021 1 commit
  24. 15 Jul, 2021 1 commit
  25. 14 Jul, 2021 3 commits
  26. 13 Jul, 2021 2 commits
  27. 25 Jun, 2021 1 commit
  28. 10 May, 2021 1 commit
  29. 15 Apr, 2021 1 commit
  30. 14 Apr, 2021 1 commit
  31. 13 Apr, 2021 1 commit
  32. 12 Apr, 2021 1 commit
  33. 03 Apr, 2021 1 commit
  34. 31 Mar, 2021 1 commit
  35. 12 Mar, 2021 2 commits