flutter/dev/manual_tests
Greg Spencer 8c271e5cb8
Implement Material MenuBar and MenuAnchor (#112239)
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.
2022-09-28 14:10:18 -07:00
..
android Remove unneeded date comment in gradle-wrapper.properties (#104061) 2022-06-13 16:43:11 -07:00
ios Set Xcode build script phases to always run (#108331) 2022-07-26 19:20:07 +00:00
lib Implement Material MenuBar and MenuAnchor (#112239) 2022-09-28 14:10:18 -07:00
linux Update repo generated_plugins.cmake (#98034) 2022-02-09 15:15:27 +01:00
macos Set Xcode build script phases to always run (#108331) 2022-07-26 19:20:07 +00:00
test Unify analysis options (#108462) 2022-07-28 09:07:49 -07:00
web Update platform shims in dev/manual_tests (#94616) 2022-01-07 12:16:24 -08:00
windows [Windows] Use dark title bar on dark system theme (#111042) 2022-09-09 22:23:59 +00:00
.gitignore Check in manual_tests gitignores (#71761) 2020-12-04 19:31:05 -08:00
.metadata Update manual_tests to be able to run on macOS/web (#44830) 2019-11-19 11:29:35 -08:00
pubspec.yaml Revert "Migrate package/flutter to JS static interop. (#111315)" (#112247) 2022-09-23 04:00:22 +00:00