MenuTileSchema
Renders an anchor — tiles, laid out with Box semantics and carrying style and visibility — with a Material 3 DropdownMenu attached to it. The menu lists one DropdownMenuItem per entry in items, each showing its MenuItem.label plus the optional MenuItem.leadingIcon and MenuItem.trailingIcon. The menu uses the large theme shape, respects the system bars and is capped at 400dp tall (scrolling beyond that).
Open state: expanded drives the menu. Dismissing it (tapping outside or pressing back) dispatches a local MenuTileEvents.OnToggleMenu and the holder flips expanded, so closing by gesture needs no server round trip. Opening and closing from the server side is done with ToggleMenuEventSchema pointing at this tile's id — typically wired to the anchor's click to open, and to an item's click chain to close after acting on the selection.
Triggers dispatched:
OnMenuItemClickEventTrigger— fired when an item is tapped, carrying that item's MenuItem.id, so events can be wired per item.
Notes: style and visibility apply to the anchor only — the dropdown itself is positioned by Material and is not affected by them.