1. 29 Sep, 2022 2 commits
  2. 28 Sep, 2022 1 commit
    • Greg Spencer's avatar
      Implement Material MenuBar and MenuAnchor (#112239) · 8c271e5c
      Greg Spencer authored
      This implements a MenuBar widget that can render a Material menu bar, and a MenuAnchor widget used to create a cascading menu in a region. The menus are drawn in the overlay, while the menu bar itself is in the regular widget tree. Keyboard traversal works between the two.
      
      This implementation of the MenuBar uses MenuAnchor to create a cascading menu that contains widgets representing the menu items. These menu items can be any kind of widget, but are typically SubmenuButtons that host submenus, or MenuItemButtons that have shortcut hints (but don't actually activate the shortcuts) and don't host submenus.
      
      Cascading menus can be created outside of a MenuBar by using a MenuAnchor. They can be either given a specific location to appear (a coordinate), or they can be located by the MenuAnchor region that wraps the control that opens them.
      
      The developer may also create a MenuController to pass to the various menu primitives (MenuBar or MenuAnchor) to associate menus so that they can be traversed together and closed together. Creating a controller is not required.
      8c271e5c
  3. 27 Sep, 2022 1 commit
  4. 26 Sep, 2022 1 commit
  5. 09 Sep, 2022 1 commit
  6. 06 Sep, 2022 1 commit
    • Darren Austin's avatar
      Fixing elevation issues with Material 3 (#110624) · 33ed6a35
      Darren Austin authored
      * Added support for surfaceTintColor and shadowColor to the Dialog widgets.
      * Updated the defaults for Material.shadowColor and Material.surfaceTint to allow turning off the features with a transparent color.
      * Added support for shadowColor and surfaceTintColor for Drawer widget.
      33ed6a35
  7. 02 Sep, 2022 1 commit
  8. 28 Aug, 2022 1 commit
  9. 22 Aug, 2022 1 commit
  10. 09 Aug, 2022 1 commit
  11. 29 Jul, 2022 1 commit
  12. 26 Jul, 2022 1 commit
  13. 15 Jul, 2022 1 commit
  14. 13 Jul, 2022 1 commit
  15. 23 Jun, 2022 1 commit
  16. 10 Jun, 2022 1 commit
  17. 02 Jun, 2022 1 commit
  18. 27 May, 2022 2 commits
  19. 26 May, 2022 2 commits
  20. 25 May, 2022 1 commit
  21. 24 May, 2022 1 commit
  22. 19 May, 2022 1 commit
  23. 09 May, 2022 1 commit
  24. 06 May, 2022 1 commit
  25. 29 Apr, 2022 1 commit
  26. 18 Apr, 2022 3 commits
  27. 25 Mar, 2022 1 commit
  28. 01 Mar, 2022 1 commit
  29. 15 Feb, 2022 1 commit
  30. 28 Jan, 2022 2 commits
  31. 14 Jan, 2022 1 commit
    • Greg Spencer's avatar
      Move examples from dart:ui ui/lib/text.dart to examples/api (#96557) · 017ed179
      Greg Spencer authored
      This extracts the examples that are in flutter/engine@main/lib/ui/text.dart into examples in the examples/api/lib/ui directory and adds some simple tests for them.
      
      Also, fixes some inconsistent test file naming.
      
      This is step 1: the next step is to remove the examples from the dart:ui code.
      017ed179
  32. 17 Dec, 2021 1 commit
  33. 09 Dec, 2021 1 commit
  34. 27 Oct, 2021 1 commit