closeMenuOnClick property
If true, the menu popup will be closed if the trigger button is clicked while the menu is open.
Otherwise, clicking the trigger button when the menu is already open will not do anything.
Implementation
@Input()
bool closeMenuOnClick = false;