1. 09 May, 2022 1 commit
  2. 06 May, 2022 1 commit
  3. 29 Apr, 2022 1 commit
  4. 28 Apr, 2022 2 commits
  5. 27 Apr, 2022 1 commit
  6. 19 Apr, 2022 1 commit
  7. 18 Apr, 2022 3 commits
  8. 09 Apr, 2022 1 commit
  9. 08 Apr, 2022 1 commit
  10. 04 Apr, 2022 1 commit
    • Greg Spencer's avatar
      Implements a PlatformMenuBar widget and associated data structures (#100274) · 2d9ad260
      Greg Spencer authored
      Implements a PlatformMenuBar widget and associated data structures for defining menu bars that use native APIs for rendering.
      
      This PR includes:
      A PlatformMenuBar class, which is a widget that menu bar data can be attached to for sending to the platform.
      A PlatformMenuDelegate base, which is the type taken by a new WidgetsBinding.platformMenuDelegate.
      An implementation of the above in DefaultPlatformMenuDelegate that talks to the built-in "flutter/menu" channel to talk to the built-in platform implementation. The delegate is so that a plugin could override with its own delegate and provide other platforms with native menu support using the same widgets to define the menus.
      This is the framework part of the implementation. The engine part will be in flutter/engine#32080 (and flutter/engine#32358)
      2d9ad260
  11. 30 Mar, 2022 1 commit
  12. 25 Mar, 2022 1 commit
  13. 22 Mar, 2022 1 commit
  14. 21 Mar, 2022 1 commit
    • Pierre-Louis's avatar
      Introduce Theme extensions (#98033) · 8c1c2f6a
      Pierre-Louis authored
      * first pass
      
      * x
      
      * x
      
      * address feedback
      
      * support multiple extensions
      
      * add convenience function, Object ⇒ dynamic, lerping
      
      * remove not-useful comment
      
      * fix examples/api lower sdk constraint
      
      * remove trailing spaces
      
      * remove another pesky trailing space
      
      * improve lerp
      
      * address feedback
      
      * hide map implementation from constructor and copyWith
      
      * use iterableproperty
      
      * Revert "hide map implementation from constructor and copyWith"
      
      This reverts commit a6994af0046e3c90dbc9405cac628feb5b2d3031.
      
      * slow down sample
      
      * make theme extension params required
      
      * add null check
      
      * improve documentation
      
      * fix hashCode and operator == overrides
      
      * modify existing tests
      
      * remove trailing spaces
      
      * add all tests except lerping
      
      * fix lerping bug
      
      * add toString to themeExtension example
      
      * add lerping test
      
      * assume non-nullability in example
      
      * address feedback
      
      * update docs
      
      * remove trailing space
      
      * use Map.unmodifiable
      8c1c2f6a
  15. 04 Mar, 2022 1 commit
  16. 01 Mar, 2022 1 commit
  17. 15 Feb, 2022 1 commit
  18. 28 Jan, 2022 2 commits
  19. 24 Jan, 2022 1 commit
  20. 17 Dec, 2021 1 commit
  21. 12 Dec, 2021 1 commit
  22. 09 Dec, 2021 1 commit
  23. 10 Nov, 2021 1 commit
  24. 04 Nov, 2021 1 commit
  25. 27 Oct, 2021 1 commit
  26. 14 Oct, 2021 1 commit
  27. 12 Oct, 2021 1 commit
  28. 08 Oct, 2021 4 commits
  29. 07 Oct, 2021 3 commits
  30. 06 Oct, 2021 1 commit
  31. 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