Experimental: this API is experimental and might be changed or removed in the future.

DropdownMenu.EventInfo.modifiers

切换到手册
public EventModifiers modifiers ;

描述

If modifier keys (Alt, Control, Shift, Windows/Command) were pressed to trigger the display of the dropdown menu, this property lists the modifier keys.